Importing derivations: Add name attribute to make a valid drv
This commit is contained in:
parent
1ed55234d9
commit
39e27a04b8
2 changed files with 5 additions and 3 deletions
|
|
@ -1,10 +1,10 @@
|
|||
attrs @ { drvPath, outputs, ... }:
|
||||
attrs @ { drvPath, outputs, name, ... }:
|
||||
|
||||
let
|
||||
|
||||
commonAttrs = (builtins.listToAttrs outputsList) //
|
||||
{ all = map (x: x.value) outputsList;
|
||||
inherit drvPath;
|
||||
inherit drvPath name;
|
||||
type = "derivation";
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue