mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-12 08:01:50 +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 {
|
stdenv.mkDerivation rec {
|
||||||
name = "spiped-${version}";
|
name = "spiped-${version}";
|
||||||
|
@ -12,6 +12,10 @@ stdenv.mkDerivation rec {
|
||||||
buildInputs = [ openssl ];
|
buildInputs = [ openssl ];
|
||||||
patches = [ ./no-dev-stderr.patch ];
|
patches = [ ./no-dev-stderr.patch ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace POSIX/posix-l.sh --replace "rm" "${coreutils}/bin/rm"
|
||||||
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin $out/share/man/man1
|
mkdir -p $out/bin $out/share/man/man1
|
||||||
make install BINDIR=$out/bin MAN1DIR=$out/share/man/man1
|
make install BINDIR=$out/bin MAN1DIR=$out/share/man/man1
|
||||||
|
|
Loading…
Reference in a new issue