spiped: attempt to fix linux Hydra build

Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
Austin Seipp 2014-04-11 21:35:08 -05:00
parent 71d7bec227
commit acd5a9d8b4

View File

@ -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