summary refs log tree commit diff
path: root/pkgs/lib/types.nix
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2012-12-20 00:28:12 -0500
committerShea Levy <shea@shealevy.com>2012-12-20 00:28:12 -0500
commit95679e1344496e15219c11e0612d1b7832a9dd1a (patch)
treece41fded8c74a84ea86846f099dcc01d30381b31 /pkgs/lib/types.nix
parentce6d4070a616554c0ca6948338b47cb192f7306a (diff)
downloadnixpkgs-95679e1344496e15219c11e0612d1b7832a9dd1a.tar
nixpkgs-95679e1344496e15219c11e0612d1b7832a9dd1a.tar.gz
nixpkgs-95679e1344496e15219c11e0612d1b7832a9dd1a.tar.bz2
nixpkgs-95679e1344496e15219c11e0612d1b7832a9dd1a.tar.lz
nixpkgs-95679e1344496e15219c11e0612d1b7832a9dd1a.tar.xz
nixpkgs-95679e1344496e15219c11e0612d1b7832a9dd1a.tar.zst
nixpkgs-95679e1344496e15219c11e0612d1b7832a9dd1a.zip
Misunderstood hasOptions, I think
Diffstat (limited to 'pkgs/lib/types.nix')
-rw-r--r--pkgs/lib/types.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/lib/types.nix b/pkgs/lib/types.nix
index b99fe5a5771..a130caf29c4 100644
--- a/pkgs/lib/types.nix
+++ b/pkgs/lib/types.nix
@@ -186,7 +186,8 @@ rec {
         args: elemType.iter f path (v args);
       fold = op: nul: v:
         args: elemType.fold op nul (v args);
-      inherit (elemType) hasOptions delayOnGlobalEval;
+      inherit (elemType) delayOnGlobalEval;
+      hasOptions = false;
     };
 
     # !!! this should be a type constructor that takes the options as