findutils: fix undeclared xargs dep on echo
When invoked without a command parameter, xargs runs echo from PATH. This change patches xargs to use a specific Nix-built echo.
This commit is contained in:
parent
8bbc4b0361
commit
e0ac44ef45
@ -11,6 +11,10 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "16kqz9yz98dasmj70jwf5py7jk558w96w0vgp3zf9xsqk3gzpzn5";
|
sha256 = "16kqz9yz98dasmj70jwf5py7jk558w96w0vgp3zf9xsqk3gzpzn5";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace xargs/xargs.c --replace 'char default_cmd[] = "echo";' 'char default_cmd[] = "${coreutils}/bin/echo";'
|
||||||
|
'';
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
./no-install-statedir.patch
|
./no-install-statedir.patch
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user