From d3b11225fcb129ccb5e07b716b7484a93e68771d Mon Sep 17 00:00:00 2001 From: stuebinm Date: Wed, 15 May 2024 23:04:09 +0200 Subject: test for non-flake build regressions this adds a nixos vm test doing a deploy on a nix which does not have flakes enabled, to guard against this breaking as it has done before [1]. The existing test infrastructure is changed slightly to make enabling flakes configurable inside the vm's config. [1] https://github.com/serokell/deploy-rs/pull/272 --- nix/tests/deploy-flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nix/tests/deploy-flake.nix') diff --git a/nix/tests/deploy-flake.nix b/nix/tests/deploy-flake.nix index 3e1e426..47f0f5b 100644 --- a/nix/tests/deploy-flake.nix +++ b/nix/tests/deploy-flake.nix @@ -15,7 +15,7 @@ in { nixosConfigurations.server = nixpkgs.lib.nixosSystem { inherit system pkgs; - specialArgs = { inherit inputs; }; + specialArgs = { inherit inputs; flakes = import inputs.enable-flakes; }; modules = [ ./server.nix ./common.nix -- cgit v1.2.3