openssl: Output-santizing hack properly uses native perl again

This commit is contained in:
John Ericson
2017-01-24 11:37:56 -05:00
parent eee7cafaf7
commit 94df8e7e4d
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, perl { stdenv, fetchurl, buildPackages, perl
, withCryptodev ? false, cryptodevHeaders , withCryptodev ? false, cryptodevHeaders
, enableSSL2 ? false }: , enableSSL2 ? false }:
@@ -76,7 +76,7 @@ let
postFixup = '' postFixup = ''
# 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 '${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
exit 1 exit 1
fi fi