mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-06 04:53:27 +00:00
nix.tests.nixStatic: init
This formalizes lf-'s suggestion https://github.com/NixOS/nixpkgs/pull/335342#issuecomment-2294899692 > nixStatic should be a hard blocker [when updating Nix]
This commit is contained in:
parent
0291167323
commit
be83fcde7d
@ -85,6 +85,7 @@ in
|
||||
|
||||
# passthru tests
|
||||
, pkgsi686Linux
|
||||
, pkgsStatic
|
||||
, runCommand
|
||||
, pkgs
|
||||
}: let
|
||||
@ -260,6 +261,8 @@ self = stdenv.mkDerivation {
|
||||
|
||||
tests = {
|
||||
nixi686 = pkgsi686Linux.nixVersions.${self_attribute_name};
|
||||
nixStatic = pkgsStatic.nixVersions.${self_attribute_name};
|
||||
|
||||
# Basic smoke test that needs to pass when upgrading nix.
|
||||
# Note that this test does only test the nixVersions.stable attribute.
|
||||
misc = nixosTests.nix-misc.default;
|
||||
|
Loading…
Reference in New Issue
Block a user