mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-12 16:10:05 +01:00
pass nixos path explicitly
This commit is contained in:
parent
7b148cd171
commit
e4493addd8
4 changed files with 15 additions and 9 deletions
|
|
@ -1,4 +1,5 @@
|
|||
{ pkgs ? import <nixpkgs> {}, lib ? pkgs.lib, e2e ? true, throwError ? true }:
|
||||
{ pkgs ? import <nixpkgs> {}, nixosPath ? <nixpkgs/nixos>, lib ? pkgs.lib
|
||||
, e2e ? true, throwError ? true }:
|
||||
|
||||
with lib;
|
||||
|
||||
|
|
@ -19,7 +20,7 @@ let
|
|||
};
|
||||
|
||||
runK8STests = k8sVersion: pkgs.recurseIntoAttrs (import ./tests {
|
||||
inherit pkgs lib kubenix k8sVersion e2e throwError;
|
||||
inherit pkgs lib kubenix k8sVersion e2e throwError nixosPath;
|
||||
});
|
||||
in rec {
|
||||
generate.k8s = pkgs.linkFarm "k8s-generated.nix" [{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue