diff options
author | Xaver Hellauer <xaver.hellauer@gmail.com> | 2020-07-28 17:02:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-28 17:02:08 +0200 |
commit | cafe0e2cb1bac4c281cfdb8789519476a03127c0 (patch) | |
tree | 996bc15e05ab939577006f3c7954747e86c9ed37 /pkgs/applications | |
parent | 5a0c05e61bb9828c09be1463c6ab22fb64b29280 (diff) |
Use upstream Makefile
Since v 6.1 upstream provides a Makefile, therefore I removed the install steps in `installPhase`.
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/misc/clipmenu/default.nix | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/applications/misc/clipmenu/default.nix b/pkgs/applications/misc/clipmenu/default.nix index c4155daab82ad..c143f70445002 100644 --- a/pkgs/applications/misc/clipmenu/default.nix +++ b/pkgs/applications/misc/clipmenu/default.nix @@ -13,12 +13,13 @@ stdenv.mkDerivation rec { sha256 = "0ddj5xcwrdb2qvrndvhv8j6swcqc8dvv5i00pqk35rfk5mrl4hwv"; }; - buildInputs = [ makeWrapper ]; + preBuild = '' + substituteInPlace ./Makefile --replace /usr "$out" + ''; - installPhase = '' - mkdir -p $out/bin - cp clipdel clipmenu clipmenud $out/bin + buildInputs = [ makeWrapper xsel clipnotify ]; + installPhase = '' for bin in $out/bin/*; do wrapProgram "$bin" --prefix PATH : "${runtimePath}" done |