openssl: remove assert restricting withPerl=false (#156949)

This commit is contained in:
Tom McLaughlin 2022-01-26 21:41:18 -08:00 committed by GitHub
parent 67f5d2963f
commit d01b2cc71b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,11 +9,6 @@
, withPerl ? stdenv.hostPlatform == stdenv.buildPlatform , withPerl ? stdenv.hostPlatform == stdenv.buildPlatform
}: }:
assert (
lib.assertMsg (!withPerl -> stdenv.hostPlatform != stdenv.buildPlatform)
"withPerl should not be disabled unless cross compiling"
);
# Note: this package is used for bootstrapping fetchurl, and thus # Note: this package is used for bootstrapping fetchurl, and thus
# cannot use fetchpatch! All mutable patches (generated by GitHub or # cannot use fetchpatch! All mutable patches (generated by GitHub or
# cgit) that are needed here should be included directly in Nixpkgs as # cgit) that are needed here should be included directly in Nixpkgs as