diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-04-04 18:51:01 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-04-04 18:59:29 +0200 |
commit | c28de6d96e7bfea834a44deac5217d4696fa8d86 (patch) | |
tree | 14e467d87b1677d09e2c7c06766414e24a713289 /corepkgs/derivation.nix | |
parent | 8b31ffd10de44871a3912184fedbeca57d8cf60f (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.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/corepkgs/derivation.nix b/corepkgs/derivation.nix index c0fbe8082..374fe5010 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 |