From 92cf5ac91b78f4312085f0c00123ca9a7eb7e3d3 Mon Sep 17 00:00:00 2001 From: Alois Wohlschlager Date: Sun, 7 Sep 2025 18:41:34 +0200 Subject: [PATCH] Disable nixpkgsLibTests temporarily Several nixpkgs bumps up to https://github.com/NixOS/nixpkgs/pull/434761 will be required to fix them. Disable the tests temporarily to avoid having to squash all the backports, which would lose history. Change-Id: I6a6a6964029a3442c4691e74a52923e3f59d6448 --- flake.nix | 40 +++++++++++++++++++++------------------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/flake.nix b/flake.nix index e4bb598a8..5c6ab138d 100644 --- a/flake.nix +++ b/flake.nix @@ -339,24 +339,26 @@ mkdir $out ''; - nixpkgsLibTests = forAllSystems ( - system: - let - inherit (self.packages.${system}) nix; - pkgs = nixpkgsFor.${system}.native; - testWithNix = import (nixpkgs + "/lib/tests/test-with-nix.nix") { inherit pkgs lib nix; }; - in - pkgs.symlinkJoin { - name = "nixpkgs-lib-tests"; - paths = - [ testWithNix ] - # NOTE: nixpkgs 24.11 is being ... *creative*, and requires this dance to override - # the evaluator used for the test. it will break again in the future, don't worry. - ++ lib.optionals pkgs.stdenv.isLinux [ - (pkgs.callPackage "${nixpkgs}/ci/eval" { nixVersions.nix_2_24 = nix; }).attrpathsSuperset - ]; - } - ); + /* + nixpkgsLibTests = forAllSystems ( + system: + let + inherit (self.packages.${system}) nix; + pkgs = nixpkgsFor.${system}.native; + testWithNix = import (nixpkgs + "/lib/tests/test-with-nix.nix") { inherit pkgs lib nix; }; + in + pkgs.symlinkJoin { + name = "nixpkgs-lib-tests"; + paths = + [ testWithNix ] + # NOTE: nixpkgs 24.11 is being ... *creative*, and requires this dance to override + # the evaluator used for the test. it will break again in the future, don't worry. + ++ lib.optionals pkgs.stdenv.isLinux [ + (pkgs.callPackage "${nixpkgs}/ci/eval" { nixVersions.nix_2_24 = nix; }).attrpathsSuperset + ]; + } + ); + */ }; pre-commit = forAvailableSystems ( @@ -405,7 +407,7 @@ binaryTarball = self.hydraJobs.binaryTarball.${system}; perlBindings = self.hydraJobs.perlBindings.${system}; - nixpkgsLibTests = self.hydraJobs.tests.nixpkgsLibTests.${system}; + # nixpkgsLibTests = self.hydraJobs.tests.nixpkgsLibTests.${system}; rl-next = self.hydraJobs.rl-next.${system}.user; # Will be empty attr set on i686-linux, and filtered out by forAvailableSystems. pre-commit = self.hydraJobs.pre-commit.${system};