about summary refs log tree commit diff
path: root/pkgs/tools/misc/coreutils
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@viric.name>2018-07-28 19:30:54 +0200
committerLluís Batlle i Rossell <viric@viric.name>2018-07-28 19:30:54 +0200
commit322b2043f92b00a74246772349fd03c6c3513a15 (patch)
treeb8c7dc22c16e72e475562eeef663dce6e6f78b7a /pkgs/tools/misc/coreutils
parent36701d4af71bea5d042128effa4f665d28ee403a (diff)
downloadnixlib-322b2043f92b00a74246772349fd03c6c3513a15.tar
nixlib-322b2043f92b00a74246772349fd03c6c3513a15.tar.gz
nixlib-322b2043f92b00a74246772349fd03c6c3513a15.tar.bz2
nixlib-322b2043f92b00a74246772349fd03c6c3513a15.tar.lz
nixlib-322b2043f92b00a74246772349fd03c6c3513a15.tar.xz
nixlib-322b2043f92b00a74246772349fd03c6c3513a15.tar.zst
nixlib-322b2043f92b00a74246772349fd03c6c3513a15.zip
Remove default for openssl
Suggested by matthewbauer review.
Diffstat (limited to 'pkgs/tools/misc/coreutils')
-rw-r--r--pkgs/tools/misc/coreutils/default.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/tools/misc/coreutils/default.nix b/pkgs/tools/misc/coreutils/default.nix
index d904cbcd449f..146b5b5110c1 100644
--- a/pkgs/tools/misc/coreutils/default.nix
+++ b/pkgs/tools/misc/coreutils/default.nix
@@ -1,6 +1,5 @@
 { stdenv, lib, buildPackages
-, autoreconfHook, texinfo, fetchurl, perl, xz, libiconv, gmp ? null
-, openssl ? null
+, autoreconfHook, texinfo, fetchurl, perl, xz, libiconv, openssl, gmp ? null
 , hostPlatform, buildPlatform
 , aclSupport ? false, acl ? null
 , attrSupport ? false, attr ? null
@@ -38,7 +37,7 @@ stdenv.mkDerivation rec {
   outputs = [ "out" "info" ];
 
   nativeBuildInputs = [ perl xz.bin ];
-  configureFlags = optional (openssl != null) "--with-openssl"
+  configureFlags = [ "--with-openssl" ]
     ++ optional (singleBinary != false)
       ("--enable-single-binary" + optionalString (isString singleBinary) "=${singleBinary}")
     ++ optional hostPlatform.isSunOS "ac_cv_func_inotify_init=no"