Add maintainer as optional arg
This commit is contained in:
parent
35feee202d
commit
1c32403de1
@ -1,4 +1,4 @@
|
||||
{ ... }@args:
|
||||
{ maintainer ? "illustris", ... }@args:
|
||||
|
||||
let
|
||||
pkgs = (import <nixpkgs> {});
|
||||
@ -7,6 +7,6 @@ in
|
||||
#
|
||||
with builtins; listToAttrs (
|
||||
map ( x: { name = x.pname; value = x;} ) (
|
||||
import "${pkgs.path}/maintainers/scripts/build.nix" ( args // { maintainer = "illustris"; } )
|
||||
import "${pkgs.path}/maintainers/scripts/build.nix" args
|
||||
)
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user