krops: don't reimport pkgs
Previously, the krops pkg was accessed by evaluating nixpkgs with the krops overlay. Now directly call krops with an existing pkgs instance.
This commit is contained in:
parent
285a38803c
commit
68ef662654
@ -27,7 +27,7 @@ let self = {
|
|||||||
|
|
||||||
# Internal pkgs
|
# Internal pkgs
|
||||||
netns-exec = pkgs.callPackage ./netns-exec { };
|
netns-exec = pkgs.callPackage ./netns-exec { };
|
||||||
krops = import ./krops { };
|
krops = import ./krops { inherit pkgs; };
|
||||||
|
|
||||||
# Deprecated pkgs
|
# Deprecated pkgs
|
||||||
generate-secrets = import ./generate-secrets-deprecated.nix;
|
generate-secrets = import ./generate-secrets-deprecated.nix;
|
||||||
|
@ -8,5 +8,8 @@ let
|
|||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
lib = import "${src}/lib";
|
lib = import "${src}/lib";
|
||||||
pkgs = import "${src}/pkgs" {};
|
pkgs = rec {
|
||||||
|
krops = pkgs.callPackage "${src}/pkgs/krops" { inherit populate; };
|
||||||
|
populate = pkgs.callPackage "${src}/pkgs/populate" {};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user