From 8160f794e79a4a2a5269080b408d69fc93d7a305 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 4 Apr 2014 21:53:47 +0200 Subject: [PATCH] derivation: Don't require certain function arguments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Turns out that in Nixpkgs, derivation is actually called without a ‘name’ argument in some places :-( --- corepkgs/derivation.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/corepkgs/derivation.nix b/corepkgs/derivation.nix index 374fe501..c0fbe808 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" ], name, builder, system, ... }: +drvAttrs @ { outputs ? [ "out" ], ... }: let