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:
Erik Arvstedt 2022-07-03 19:49:09 +02:00
parent 285a38803c
commit 68ef662654
No known key found for this signature in database
GPG key ID: 33312B944DD97846
2 changed files with 5 additions and 2 deletions

View file

@ -8,5 +8,8 @@ let
};
in {
lib = import "${src}/lib";
pkgs = import "${src}/pkgs" {};
pkgs = rec {
krops = pkgs.callPackage "${src}/pkgs/krops" { inherit populate; };
populate = pkgs.callPackage "${src}/pkgs/populate" {};
};
}