fix openssl
This commit is contained in:
parent
8b393304b1
commit
2df354fd1e
@ -92,10 +92,14 @@ let
|
|||||||
rm "$out/lib/"*.a
|
rm "$out/lib/"*.a
|
||||||
fi
|
fi
|
||||||
|
|
||||||
'' + stdenv.lib.optionalString (!stdenv.targetPlatform.isWindows)
|
'' +
|
||||||
''
|
''
|
||||||
mkdir -p $bin
|
mkdir -p $bin
|
||||||
|
'' + stdenv.lib.optionalString (!stdenv.hostPlatform.isWindows)
|
||||||
|
''
|
||||||
substituteInPlace $out/bin/c_rehash --replace ${buildPackages.perl} ${perl}
|
substituteInPlace $out/bin/c_rehash --replace ${buildPackages.perl} ${perl}
|
||||||
|
'' +
|
||||||
|
''
|
||||||
mv $out/bin $bin/
|
mv $out/bin $bin/
|
||||||
|
|
||||||
mkdir $dev
|
mkdir $dev
|
||||||
@ -107,7 +111,7 @@ let
|
|||||||
rmdir $out/etc/ssl/{certs,private}
|
rmdir $out/etc/ssl/{certs,private}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postFixup = ''
|
postFixup = stdenv.lib.optionalString (!stdenv.hostPlatform.isWindows) ''
|
||||||
# Check to make sure the main output doesn't depend on perl
|
# Check to make sure the main output doesn't depend on perl
|
||||||
if grep -r '${buildPackages.perl}' $out; then
|
if grep -r '${buildPackages.perl}' $out; then
|
||||||
echo "Found an erroneous dependency on perl ^^^" >&2
|
echo "Found an erroneous dependency on perl ^^^" >&2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user