mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
public-inbox: fix InlineC
Co-authored-by: Alyssa Ross <hi@alyssa.is>
This commit is contained in:
parent
cbbfccd312
commit
4fdd015c76
@ -6,6 +6,7 @@
|
||||
, gnumake
|
||||
, highlight
|
||||
, libgit2
|
||||
, libxcrypt
|
||||
, man
|
||||
, openssl
|
||||
, pkg-config
|
||||
@ -137,12 +138,14 @@ buildPerlPackage rec {
|
||||
installTargets = [ "install" ];
|
||||
postInstall = ''
|
||||
for prog in $out/bin/*; do
|
||||
wrapProgram $prog --prefix PATH : ${lib.makeBinPath [
|
||||
git
|
||||
/* for InlineC */
|
||||
gnumake
|
||||
stdenv.cc.cc
|
||||
]}
|
||||
wrapProgram $prog \
|
||||
--set NIX_CFLAGS_COMPILE_${stdenv.cc.suffixSalt} -I${lib.getDev libxcrypt}/include \
|
||||
--prefix PATH : ${lib.makeBinPath [
|
||||
git
|
||||
/* for InlineC */
|
||||
gnumake
|
||||
stdenv.cc
|
||||
]}
|
||||
done
|
||||
|
||||
mv sa_config $sa_config
|
||||
|
Loading…
Reference in New Issue
Block a user