rm: fix nixosPath

nixosPath would get reified in the nix store as /nix/store/<hash>-nixos
which breakes any referenced from within ./nixpkgs/nixos to ../lib or
../pkgs
This commit is contained in:
David Arnold 2021-05-28 17:39:22 -05:00
parent 8f9729870f
commit e575c23570
No known key found for this signature in database
GPG key ID: 6D6A936E69C59D08
4 changed files with 4 additions and 8 deletions

View file

@ -2,8 +2,6 @@
, lib ? pkgs.lib
, kubenix ? (import ../. { }).default
, nixosPath ? toString <nixpkgs/nixos>
, k8sVersion ? "1.21"
, registryUrl ? throw "Registry url not defined"
, throwError ? true # whether any testing error should throw an error
@ -58,7 +56,7 @@ let
inherit pkgs;
};
specialArgs = {
inherit kubenix nixosPath;
inherit kubenix;
};
}).config;
in