mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-29 15:43:00 +00:00
serpent: fix darwin build
This commit is contained in:
parent
9ef6fe63be
commit
c47331a6c0
@ -14,6 +14,10 @@ stdenv.mkDerivation {
|
|||||||
sha256 = "1bns9wgn5i1ahj19qx7v1wwdy8ca3q3pigxwznm5nywsw7s7lqxs";
|
sha256 = "1bns9wgn5i1ahj19qx7v1wwdy8ca3q3pigxwznm5nywsw7s7lqxs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace Makefile --replace 'g++' '${stdenv.cc.targetPrefix}c++'
|
||||||
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
mv serpent $out/bin
|
mv serpent $out/bin
|
||||||
@ -33,6 +37,6 @@ stdenv.mkDerivation {
|
|||||||
homepage = "https://github.com/ethereum/wiki/wiki/Serpent";
|
homepage = "https://github.com/ethereum/wiki/wiki/Serpent";
|
||||||
license = with licenses; [ wtfpl ];
|
license = with licenses; [ wtfpl ];
|
||||||
maintainers = with maintainers; [ chris-martin ];
|
maintainers = with maintainers; [ chris-martin ];
|
||||||
platforms = with platforms; linux;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user