pass inputs in container friendly way
This commit is contained in:
@@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user