From 1c32403de1a7d17d3df22c128af38f5ae1b760b7 Mon Sep 17 00:00:00 2001 From: illustris Date: Sun, 23 Jan 2022 12:54:25 +0530 Subject: [PATCH] Add maintainer as optional arg --- default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/default.nix b/default.nix index 3154770..44d172e 100644 --- a/default.nix +++ b/default.nix @@ -1,4 +1,4 @@ -{ ... }@args: +{ maintainer ? "illustris", ... }@args: let pkgs = (import {}); @@ -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 ) )