From c28de6d96e7bfea834a44deac5217d4696fa8d86 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 4 Apr 2014 18:51:01 +0200 Subject: 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 --- corepkgs/derivation.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'corepkgs') diff --git a/corepkgs/derivation.nix b/corepkgs/derivation.nix index c0fbe8082c..374fe50104 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 -- cgit 1.4.1