Update default.nix
This commit is contained in:
parent
cbb9af628e
commit
ce37a2e349
@ -1,4 +1,4 @@
|
|||||||
{ clipnotify, makeWrapper, xsel, dmenu, utillinux, gawk, stdenv, fetchFromGitHub, lib }:
|
{ clipnotify, makeWrapper, xsel, dmenu, utillinux, gawk, stdenv, fetchFromGitHub, fetchpatch, lib }:
|
||||||
let
|
let
|
||||||
runtimePath = lib.makeBinPath [ clipnotify xsel dmenu utillinux gawk ];
|
runtimePath = lib.makeBinPath [ clipnotify xsel dmenu utillinux gawk ];
|
||||||
in
|
in
|
||||||
@ -13,10 +13,14 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0ddj5xcwrdb2qvrndvhv8j6swcqc8dvv5i00pqk35rfk5mrl4hwv";
|
sha256 = "0ddj5xcwrdb2qvrndvhv8j6swcqc8dvv5i00pqk35rfk5mrl4hwv";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
patches = [
|
||||||
substituteInPlace ./Makefile --replace /usr "$out"
|
(fetchpatch {
|
||||||
'';
|
url = "https://github.com/cdown/clipmenu/commit/443b58583ef216e2405e4a38d401f7c36386d21e.patch";
|
||||||
|
sha256 = "12m4rpw7jbr31c919llbsmn8dcf7yh9aijln4iym6h2lylzqzzdz";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
makeFlags = [ "PREFIX=$(out)" ];
|
||||||
buildInputs = [ makeWrapper ];
|
buildInputs = [ makeWrapper ];
|
||||||
nativeBuildInputs = [ xsel clipnotify ];
|
nativeBuildInputs = [ xsel clipnotify ];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user