summaryrefslogtreecommitdiffstats
path: root/nixos/release.nix
diff options
context:
space:
mode:
authorNicolas B. Pierron <nicolas.b.pierron@gmail.com>2015-11-18 00:26:00 +0000
committerNicolas B. Pierron <nicolas.b.pierron@gmail.com>2015-11-19 20:58:45 +0000
commita5992ad61b314104aff7e28a41ce101a1b0e7c35 (patch)
tree7fbf4a4ffb401b4a6d1a0c97357625d77cc4dc6b /nixos/release.nix
parentbd33a4149364ee5123070fe6e706876fa2ebf984 (diff)
Add a way to pin a NixOS version within the module system.
This modification add a way to re-evaluate the module system with a different version of NixOS, or with a different set of arguments.
Diffstat (limited to 'nixos/release.nix')
-rw-r--r--nixos/release.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/release.nix b/nixos/release.nix
index 1a1ed4bca410..e48954ceaf59 100644
--- a/nixos/release.nix
+++ b/nixos/release.nix
@@ -276,6 +276,7 @@ in rec {
tests.networkingProxy = callTest tests/networking-proxy.nix {};
tests.nfs3 = callTest tests/nfs.nix { version = 3; };
tests.nfs4 = callTest tests/nfs.nix { version = 4; };
+ tests.nixosPinVersion = callTest tests/nixos-pin-version.nix {};
tests.nsd = callTest tests/nsd.nix {};
tests.openssh = callTest tests/openssh.nix {};
tests.panamax = hydraJob (import tests/panamax.nix { system = "x86_64-linux"; });