Commit Graph

64 Commits (6e4887ce07549f95e88742712969e6a153dc337c)

Author SHA1 Message Date
Benjamin Staffin b3a534d3d2 lib: Fix matchAttrs by importing builtins.length 10 years ago
Benjamin Staffin 4dd93dbf25 lib: Fix matchAttrs by importing builtins.length 10 years ago
Eelco Dolstra 97220c973f Replace hasAttr/getAttr calls with the ? and . operators 10 years ago
Eelco Dolstra 0e120dc68f Use new primops 10 years ago
Eelco Dolstra a8b693fef7 Remove backward-compatible implementations of some primops 11 years ago
Eelco Dolstra 785eaf2cea Add some primops to lib 11 years ago
Eelco Dolstra b479dac8df Inline some functions on the critical path 11 years ago
Eelco Dolstra 40913958a2 Keep position information for option declarations and definitions 11 years ago
Eelco Dolstra 5fef92c4a0 Move pkgs/lib/ to lib/ 11 years ago
Evgeny Egorochkin fcbc4fe9ff Deprecate lib.zip in favor of lib.zipAttrsWith. 11 years ago
Eelco Dolstra 5e83e93e97 Add a library function ‘genAttrs’ 11 years ago
Shea Levy da3be9c6b2 Add deepSeq lib function 12 years ago
Eelco Dolstra a05198b6ea Typos 12 years ago
Eelco Dolstra 56cee6fe5c Make Firefox 16 the default 12 years ago
Marc Weber aa583c8cf4 experimental/lib-fold-attr 12 years ago
Eelco Dolstra 37159c1b9a Remove obsolete eqStrict function 12 years ago
Eelco Dolstra 431c55cbf1 Use builtin filter, elem, concatLists functions if available 12 years ago
Eelco Dolstra 3bf4437622 Remove obsolete backwards compatibility hack for getAttr 12 years ago
Eelco Dolstra 4b5c1dec62 * Add a function ‘mapAttrsToList’ that maps a function over the 12 years ago
Eelco Dolstra 89af9f3f4c * Add a variant of mapAttrs that allows rewriting the name of each 12 years ago
Eelco Dolstra e78a048265 * Add a function "filterAttrs" and clean up some comments. 12 years ago
Eelco Dolstra efe6fddd59 * Indentation. 13 years ago
Michael Raskin aadb898a0b Implementing a fix allowing deepOverride without changing dependency-tree-leaf packages 14 years ago
Eelco Dolstra 11c3e92738 * Bring back Emacs 22 by request from Ludovic. 15 years ago
Nicolas Pierron 56ed820f84 Add systems.nix give more control over the increasing list of supported 15 years ago
Eelco Dolstra 519e7870b6 * Move `modifyDerivation' from build-support/vm to lib and rename it 15 years ago
Eelco Dolstra aa392c3aa7 * Move functions like `runCommand' out of all-packages.nix and into 15 years ago
Nicolas Pierron 3872882e93 Fix collect example. 15 years ago
Nicolas Pierron 00127bef3f Move zip & zipWithNames from misc.nix to attrsets.nix and rename them to 15 years ago
Nicolas Pierron b3b40ebf79 Add setAttrByPath: 15 years ago
Eelco Dolstra 5b7f46ea43 * A utility function `optionalAttrs', similar to optional and 15 years ago
Nicolas Pierron 0f6a67814a Add 'collect' a function which recursively collects all attribute values verifying a predicate. 15 years ago
Eelco Dolstra 1635ec4bdf * Put strings-with-deps in lib. 15 years ago
Eelco Dolstra 8d7bf1a11e * Typo. 15 years ago
Marc Weber ed69e9ed94 getAttr can call builtins.getAttr 15 years ago
Marc Weber f7f938a1d1 big breaking change: renaming lib.getAttr to lib.attrByPath 15 years ago
Eelco Dolstra 671d53dd35 * Allow the user to install stdenv (nix-env -i stdenv) and get all the 15 years ago
Eelco Dolstra 6b24d7bebe * `mapAttrsRecursiveCond', which is like `mapAttrsRecursive' but takes 15 years ago
Eelco Dolstra b53ef57554 * Moved mapAttrs to attrsets.nix. 16 years ago
Marc Weber 5ddfa7ed64 moved catAttrs, attrVals into attrsets.nix, adding attrValues 16 years ago
Eelco Dolstra 599015e8b0 * Split lib/default.nix into several files, as it had become a big 16 years ago