about summary refs log tree commit diff
path: root/corepkgs/derivation.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-04-04T16·51+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-04-04T16·59+0200
commitc28de6d96e7bfea834a44deac5217d4696fa8d86 (patch)
tree14e467d87b1677d09e2c7c06766414e24a713289 /corepkgs/derivation.nix
parent8b31ffd10de44871a3912184fedbeca57d8cf60f (diff)
Pass position information to primop calls
For example:

  error: `tail' called on an empty list, at
    /home/eelco/Dev/nixpkgs/pkgs/applications/misc/hello/ex-2/default.nix:13:7
Diffstat (limited to 'corepkgs/derivation.nix')
-rw-r--r--corepkgs/derivation.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/corepkgs/derivation.nix b/corepkgs/derivation.nix
index c0fbe8082cd3..374fe501049b 100644
--- a/corepkgs/derivation.nix
+++ b/corepkgs/derivation.nix
@@ -1,7 +1,7 @@
 /* This is the implementation of the ‘derivation’ builtin function.
    It's actually a wrapper around the ‘derivationStrict’ primop. */
 
-drvAttrs @ { outputs ? [ "out" ], ... }:
+drvAttrs @ { outputs ? [ "out" ], name, builder, system, ... }:
 
 let