Add maintainer as optional arg

This commit is contained in:
illustris 2022-01-23 12:54:25 +05:30 committed by GitHub
parent 35feee202d
commit 1c32403de1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
)
)