mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
spiped: attempt to fix linux Hydra build
Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
71d7bec227
commit
acd5a9d8b4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user