nixpkgs/lib
Benjamin Staffin 4dd93dbf25 lib: Fix matchAttrs by importing builtins.length
Before:

    nix-repl> :l <nixpkgs>
    nix-repl> lib.matchAttrs { foo = "bar"; } { bar = "bas"; }
    error: undefined variable ‘length’ at "/home/benley/nix/nixpkgs/lib/attrsets.nix":317:10

After:

    nix-repl> :l <nixpkgs>
    nix-repl> lib.matchAttrs { foo = "bar"; } { bar = "bas"; }
    false

Change-Id: I548d69d50cffe1c63a6f39f76fd09d1835d8d9a2
2014-12-30 15:07:29 -08:00
..
attrsets.nix lib: Fix matchAttrs by importing builtins.length 2014-12-30 15:07:29 -08:00
composable-derivation.nix Shea told me composableDerivation is hard to understand. 2014-04-30 20:31:40 +02:00
customisation.nix Add overrideDerivation to makeOverridable. Closes #4017 2014-10-18 18:02:43 +02:00
debug.nix Remove obsolete checks for missing primops 2014-10-05 01:10:37 +02:00
default.nix Add some primops to lib 2013-11-12 13:48:30 +01:00
licenses.nix add LaTeX Project Public License v1.3c for Gyre 2014-12-19 20:07:53 +00:00
lists.nix Add unique list function 2014-11-12 22:31:49 +01:00
maintainers.nix Add photoqt-1.1.0.1 2014-12-27 22:13:41 +01:00
meta.nix Make appendToName do the right thing 2014-03-10 15:01:56 +01:00
misc.nix Replace hasAttr/getAttr calls with the ? and . operators 2014-10-05 01:11:06 +02:00
modules.nix nixos: Try to show an helpful message when the user sets config. or options. 2014-11-01 23:33:24 +01:00
options.nix modules: Add mkSinkUndeclaredOptions. 2014-12-21 14:50:46 +01:00
platforms.nix lib/platforms: add "armv6l-linux" to all platforms 2014-09-27 11:23:03 +02:00
sources.nix Manual: Handle XML files in subdirectories 2014-08-25 14:33:33 +02:00
strings-with-deps.nix Replace hasAttr/getAttr calls with the ? and . operators 2014-10-05 01:11:06 +02:00
strings.nix lib: Use arithmetic operators rather than builtins.add etc. 2014-10-05 01:10:06 +02:00
systems.nix lib: Use arithmetic operators rather than builtins.add etc. 2014-10-05 01:10:06 +02:00
tests.nix Move pkgs/lib/ to lib/ 2013-10-10 13:28:21 +02:00
trivial.nix Add a global variable ‘inNixShell’ 2014-02-19 19:03:16 +01:00
types.nix Remove types.functionTo. 2014-09-07 19:41:45 +02:00