From 2e23053c8ef76416553973cc227ac976a9765128 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Sun, 4 May 2025 19:09:44 +0200 Subject: tests: use nixpkgs without unnecessary overlays introduces a 'boring' nixpkgs used by default for running VM tests in this repo, i.e. do not force others to build my current version of things like lix, which I overlay & which are part of any system closure, but not actually important for testing. --- inputs.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'inputs.nix') diff --git a/inputs.nix b/inputs.nix index 8902303..7329531 100644 --- a/inputs.nix +++ b/inputs.nix @@ -34,6 +34,16 @@ let ]; } // { outPath = sources.nixpkgs.outPath; }; + # 'boring' version of nixpkgs with fewer (used for vm tests, + # so they're buildable without having to compile e.g. the lix version + # from the overlay) + nixpkgs-boring = import sources.nixpkgs { + inherit system; + overlays = [ + (import ./pkgs/overlay.nix { inherit inputs; }) + ]; + } // { outPath = sources.nixpkgs.outPath; }; + nixpkgs-unstable = import sources.nixpkgs-unstable { inherit system; } // { outPath = sources.nixpkgs-unstable.outPath; }; -- cgit v1.2.3