diff options
author | Austin Seipp <aseipp@pobox.com> | 2014-04-11 21:35:08 -0500 |
---|---|---|
committer | Austin Seipp <aseipp@pobox.com> | 2014-04-11 21:35:08 -0500 |
commit | acd5a9d8b4946634127705f96d141062e0a234c8 (patch) | |
tree | 8f5c004e1601828e0768f966d180c86ccf0afb0b /pkgs/tools/networking/spiped | |
parent | 71d7bec227b4d8e3622e0248a1cd6d3f1ba4b2b0 (diff) |
spiped: attempt to fix linux Hydra build
Signed-off-by: Austin Seipp <aseipp@pobox.com>
Diffstat (limited to 'pkgs/tools/networking/spiped')
-rw-r--r-- | pkgs/tools/networking/spiped/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/tools/networking/spiped/default.nix b/pkgs/tools/networking/spiped/default.nix index 7f17c981b93c0..ac2736ffb19e1 100644 --- a/pkgs/tools/networking/spiped/default.nix +++ b/pkgs/tools/networking/spiped/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, openssl }: +{ stdenv, fetchurl, openssl, coreutils }: stdenv.mkDerivation rec { name = "spiped-${version}"; @@ -12,6 +12,10 @@ stdenv.mkDerivation rec { buildInputs = [ openssl ]; patches = [ ./no-dev-stderr.patch ]; + postPatch = '' + substituteInPlace POSIX/posix-l.sh --replace "rm" "${coreutils}/bin/rm" + ''; + installPhase = '' mkdir -p $out/bin $out/share/man/man1 make install BINDIR=$out/bin MAN1DIR=$out/share/man/man1 |