3
0
Fork 0
forked from mirrors/nixpkgs
Nix Packages collection
Go to file
Eelco Dolstra 0afdb1e933 Add option type "str" for unique strings
An annoying and dangerous property of "types.string" is that it merges
multiple definitions by concatenating them, which almost never
produces a sensible result.  (Those options for which it does make
sense typically should use "types.lines" instead, and things only work
because the option definitions already end in a newline.)  Of course,
you can use "types.uniq types.string", but that's rather verbose, and
inconsistent with other basic types like "types.int".

Changing the behaviour of "types.string" to be unique by default is
not an option, given the large number of options that use it.  So
instead, we now have "types.str", which is equivalent to "types.uniq
types.string".
2013-10-29 13:45:30 +01:00
doc Unify the Nixpkgs and NixOS version numbers 2013-10-10 13:28:22 +02:00
lib Add option type "str" for unique strings 2013-10-29 13:45:30 +01:00
maintainers/scripts Fix references to pkgs/lib 2013-10-10 13:28:22 +02:00
nixos nixos-rebuild build-vm: Ignore the user's LUKS devices 2013-10-29 13:31:01 +01:00
pkgs grsecurity: Update to 2.9.1-3.2.52-201310271550 2013-10-29 13:32:53 +01:00
.gitignore Merge .gitignore files 2013-10-10 13:28:22 +02:00
.version Unify the Nixpkgs and NixOS version numbers 2013-10-10 13:28:22 +02:00
COPYING * Applying an MIT-style license to Nixpkgs. 2006-04-25 16:50:34 +00:00
default.nix * For convenience, provide a top-level Nix expression that simply 2007-04-26 14:32:57 +00:00