pass inputs in container friendly way

This commit is contained in:
zuckerberg
2021-09-24 13:53:36 -04:00
parent de9c03977b
commit b7f6576d64
6 changed files with 32 additions and 26 deletions

View File

@@ -1,4 +1,4 @@
{ lib, pkgs, config, inputs, ... }:
{ lib, pkgs, config, ... }:
with lib;
let
cfg = config.nix.flakes;
@@ -15,7 +15,7 @@ in {
'';
# pin nixpkgs for system commands such as "nix shell"
registry.nixpkgs.flake = inputs.nixpkgs;
registry.nixpkgs.flake = config.inputs.nixpkgs;
};
};
}