mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
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";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace xargs/xargs.c --replace 'char default_cmd[] = "echo";' 'char default_cmd[] = "${coreutils}/bin/echo";'
|
||||
'';
|
||||
|
||||
patches = [
|
||||
./no-install-statedir.patch
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user