openssl: Output-santizing hack properly uses native perl again

wip/yesman
John Ericson 8 years ago
parent eee7cafaf7
commit 94df8e7e4d
  1. 4
      pkgs/development/libraries/openssl/default.nix

@ -1,4 +1,4 @@
{ stdenv, fetchurl, perl
{ stdenv, fetchurl, buildPackages, perl
, withCryptodev ? false, cryptodevHeaders
, enableSSL2 ? false }:
@ -76,7 +76,7 @@ let
postFixup = ''
# 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
exit 1
fi

Loading…
Cancel
Save