1
0
Fork 0

make re-exports explicit again

This commit is contained in:
kiara Grouwstra 2025-03-25 08:38:53 +01:00
parent a5c310ad03
commit d78995b34c
Signed by: kiara
SSH key fingerprint: SHA256:COspvLoLJ5WC5rFb9ZDe5urVCkK4LJZOsjfF4duRJFU

View file

@ -6,17 +6,14 @@
config = { };
overlays = [ (import ./nix/overlay.nix) ];
},
}@args:
}:
let
inherit (pkgs) lib;
manage = pkgs.writeScriptBin "manage" ''
exec ${pkgs.lib.getExe pkgs.python3} ${toString ./src/manage.py} $@
'';
in
# re-export inputs so they can be overridden granularly
# (they can't be accessed from the outside any other way)
args
// {
{
shell = pkgs.mkShellNoCC {
inputsFrom = [ (pkgs.callPackage ./nix/package.nix { }) ];
packages = [
@ -39,7 +36,12 @@ args
module = import ./nix/configuration.nix;
tests = pkgs.callPackage ./nix/tests.nix { };
# re-export inputs so they can be overridden granularly
# (they can't be accessed from the outside any other way)
inherit
sources
system
pkgs
;
}
# re-export inputs so they can be overridden granularly
# (they can't be accessed from the outside any other way)
// args