From acd5a9d8b4946634127705f96d141062e0a234c8 Mon Sep 17 00:00:00 2001 From: Austin Seipp Date: Fri, 11 Apr 2014 21:35:08 -0500 Subject: [PATCH] spiped: attempt to fix linux Hydra build Signed-off-by: Austin Seipp --- pkgs/tools/networking/spiped/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/networking/spiped/default.nix b/pkgs/tools/networking/spiped/default.nix index 7f17c981b93c..ac2736ffb19e 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