Skip to content

ci: Update pinned Nixpkgs#397453

Merged
infinisil merged 1 commit intoNixOS:masterfrom
tweag:update-pinned-nixpkgs
Apr 10, 2025
Merged

ci: Update pinned Nixpkgs#397453
infinisil merged 1 commit intoNixOS:masterfrom
tweag:update-pinned-nixpkgs

Conversation

@infinisil
Copy link
Member

Same as #389635, but now including the nixfmt update from #396013.

Ran ci/update-pinned-nixpkgs.sh, which updated it to the version from this nixpkgs-unstable Hydra eval: https://hydra.nixos.org/eval/1814458#tabs-inputs


Add a 👍 reaction to pull requests you find important.

@infinisil infinisil requested a review from a team April 9, 2025 19:27
@github-actions github-actions bot added 6.topic: continuous integration Affects continuous integration (CI) in Nixpkgs, including Ofborg and GitHub Actions backport release-24.11 labels Apr 9, 2025
@github-actions github-actions bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Apr 9, 2025
@wegank wegank added the 12.approvals: 1 This PR was reviewed and approved by one person. label Apr 9, 2025
@wegank wegank added 12.approvals: 3+ This PR was reviewed and approved by three or more persons. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. and removed 12.approvals: 1 This PR was reviewed and approved by one person. labels Apr 10, 2025
@infinisil infinisil merged commit b433119 into NixOS:master Apr 10, 2025
28 of 30 checks passed
@infinisil infinisil deleted the update-pinned-nixpkgs branch April 10, 2025 15:41
@github-project-automation github-project-automation bot moved this from Todo to Done in Nix formatting Apr 10, 2025
@nixpkgs-ci
Copy link
Contributor

nixpkgs-ci bot commented Apr 10, 2025

Successfully created backport PR for release-24.11:

@K900
Copy link
Contributor

K900 commented Apr 10, 2025

This broke tests:

running 'nix-build' '--arg' 'pkgs' '(import ./ci/. {}).pkgs' './lib/tests/release.nix'
error:
       … while evaluating an expression to select 'drvPath' on it
         at «internal»:1:552:
       … while calling the 'derivationStrict' builtin
         at «internal»:1:208:
       … while evaluating derivation 'nixpkgs-lib-tests'
         whose name attribute is located at /nix/store/dz79hkzhfjqv80a8sp43ldndgsc8fan4-source/pkgs/stdenv/generic/make-derivation.nix:438:13

       … while evaluating attribute 'paths' of derivation 'nixpkgs-lib-tests'
         at /nix/store/dz79hkzhfjqv80a8sp43ldndgsc8fan4-source/pkgs/build-support/trivial-builders/default.nix:622:11:
          621|           inherit preferLocalBuild allowSubstitutes;
          622|           paths = mapPaths (path: "${path}${stripPrefix}") paths;
             |           ^
          623|           passAsFile = [ "paths" ];

       … while calling anonymous lambda
         at /nix/store/dz79hkzhfjqv80a8sp43ldndgsc8fan4-source/pkgs/build-support/trivial-builders/default.nix:604:11:
          603|         map (
          604|           path:
             |           ^
          605|           if path == null then

       … from call site
         at /nix/store/dz79hkzhfjqv80a8sp43ldndgsc8fan4-source/pkgs/build-support/trivial-builders/default.nix:610:13:
          609|           else
          610|             f path
             |             ^
          611|         ) paths;

       … while calling anonymous lambda
         at /nix/store/dz79hkzhfjqv80a8sp43ldndgsc8fan4-source/pkgs/build-support/trivial-builders/default.nix:622:29:
          621|           inherit preferLocalBuild allowSubstitutes;
          622|           paths = mapPaths (path: "${path}${stripPrefix}") paths;
             |                             ^
          623|           passAsFile = [ "paths" ];

       … while calling the 'getAttr' builtin
         at «internal»:1:500:
       … while calling the 'derivationStrict' builtin
         at «internal»:1:208:
       … while evaluating the derivation attribute 'name'
         at /nix/store/dz79hkzhfjqv80a8sp43ldndgsc8fan4-source/pkgs/stdenv/generic/make-derivation.nix:438:13:
          437|           // (optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          438|             name =
             |             ^
          439|               let

       … while evaluating the `name` attribute passed to builtins.derivationStrict

       … from call site
         at /nix/store/dz79hkzhfjqv80a8sp43ldndgsc8fan4-source/pkgs/stdenv/generic/make-derivation.nix:456:15:
          455|               in
          456|               lib.strings.sanitizeDerivationName (
             |               ^
          457|                 if attrs ? name then

       … while calling anonymous lambda
         at /nix/store/dz79hkzhfjqv80a8sp43ldndgsc8fan4-source/lib/strings.nix:2743:5:
         2742|     in
         2743|     string:
             |     ^
         2744|     # First detect the common case of already valid strings, to speed those up

       … while evaluating a branch condition
         at /nix/store/dz79hkzhfjqv80a8sp43ldndgsc8fan4-source/lib/strings.nix:2745:5:
         2744|     # First detect the common case of already valid strings, to speed those up
         2745|     if stringLength string <= 207 && okRegex string != null then
             |     ^
         2746|       unsafeDiscardStringContext string

       … in the left operand of the AND (&&) operator
         at /nix/store/dz79hkzhfjqv80a8sp43ldndgsc8fan4-source/lib/strings.nix:2745:35:
         2744|     # First detect the common case of already valid strings, to speed those up
         2745|     if stringLength string <= 207 && okRegex string != null then
             |                                   ^
         2746|       unsafeDiscardStringContext string

       … in the argument of the not operator
         at /nix/store/dz79hkzhfjqv80a8sp43ldndgsc8fan4-source/lib/strings.nix:2745:28:
         2744|     # First detect the common case of already valid strings, to speed those up
         2745|     if stringLength string <= 207 && okRegex string != null then
             |                            ^
         2746|       unsafeDiscardStringContext string

       … while calling the 'lessThan' builtin
         at /nix/store/dz79hkzhfjqv80a8sp43ldndgsc8fan4-source/lib/strings.nix:2745:28:
         2744|     # First detect the common case of already valid strings, to speed those up
         2745|     if stringLength string <= 207 && okRegex string != null then
             |                            ^
         2746|       unsafeDiscardStringContext string

       … while calling the 'stringLength' builtin
         at /nix/store/dz79hkzhfjqv80a8sp43ldndgsc8fan4-source/lib/strings.nix:2745:8:
         2744|     # First detect the common case of already valid strings, to speed those up
         2745|     if stringLength string <= 207 && okRegex string != null then
             |        ^
         2746|       unsafeDiscardStringContext string

       … while evaluating the attribute 'name'
         at /nix/store/dz79hkzhfjqv80a8sp43ldndgsc8fan4-source/pkgs/build-support/trivial-builders/default.nix:80:30:
           79|         enableParallelBuilding = true;
           80|         inherit buildCommand name;
             |                              ^
           81|         passAsFile = [ "buildCommand" ] ++ (derivationArgs.passAsFile or [ ]);

       … while evaluating an expression to select 'version' on it
         at /home/k900/gh/NixOS/nixpkgs/lib/tests/test-with-nix.nix:17:42:
           16|
           17| pkgs.runCommand "nixpkgs-lib-tests-nix-${nix.version}"
             |                                          ^
           18|   {

       … from call site
         at /home/k900/gh/NixOS/nixpkgs/lib/tests/release.nix:14:22:
           13|     nix
           14|     pkgs-nixVersions.latest
             |                      ^
           15|   ],

       … while calling anonymous lambda
         at /home/k900/gh/NixOS/nixpkgs/lib/tests/nix-for-tests.nix:16:9:
           15| builtins.mapAttrs (
           16|   attr: pkg:
             |         ^
           17|   if lib.versionAtLeast pkg.version "2.29pre" then

       … while calling a functor (an attribute set with a '__functor' attribute)
         at /home/k900/gh/NixOS/nixpkgs/lib/tests/nix-for-tests.nix:20:5:
           19|   else
           20|     pkg.override { withAWS = false; }
             |     ^
           21| ) pkgs.nixVersions

       … from call site
         at /nix/store/dz79hkzhfjqv80a8sp43ldndgsc8fan4-source/lib/trivial.nix:989:5:
          988|     # TODO: Should we add call-time "type" checking like built in?
          989|     __functor = self: f;
             |     ^
          990|     __functionArgs = args;

       … while calling anonymous lambda
         at /nix/store/dz79hkzhfjqv80a8sp43ldndgsc8fan4-source/lib/customisation.nix:169:36:
          168|         # Re-call the function but with different arguments
          169|         overrideArgs = mirrorArgs (newArgs: makeOverridable f (overrideWith newArgs));
             |                                    ^
          170|         # Change the result of the function call by applying g to it

       … while calling a functor (an attribute set with a '__functor' attribute)
         at /nix/store/dz79hkzhfjqv80a8sp43ldndgsc8fan4-source/lib/customisation.nix:169:45:
          168|         # Re-call the function but with different arguments
          169|         overrideArgs = mirrorArgs (newArgs: makeOverridable f (overrideWith newArgs));
             |                                             ^
          170|         # Change the result of the function call by applying g to it

       … from call site
         at /nix/store/dz79hkzhfjqv80a8sp43ldndgsc8fan4-source/lib/trivial.nix:989:5:
          988|     # TODO: Should we add call-time "type" checking like built in?
          989|     __functor = self: f;
             |     ^
          990|     __functionArgs = args;

       … while calling anonymous lambda
         at /nix/store/dz79hkzhfjqv80a8sp43ldndgsc8fan4-source/lib/customisation.nix:161:7:
          160|     mirrorArgs (
          161|       origArgs:
             |       ^
          162|       let

       … while evaluating a branch condition
         at /nix/store/dz79hkzhfjqv80a8sp43ldndgsc8fan4-source/lib/customisation.nix:173:7:
          172|       in
          173|       if isAttrs result then
             |       ^
          174|         result

       … while calling the 'isAttrs' builtin
         at /nix/store/dz79hkzhfjqv80a8sp43ldndgsc8fan4-source/lib/customisation.nix:173:10:
          172|       in
          173|       if isAttrs result then
             |          ^
          174|         result

       … from call site
         at /nix/store/dz79hkzhfjqv80a8sp43ldndgsc8fan4-source/lib/customisation.nix:163:18:
          162|       let
          163|         result = f origArgs;
             |                  ^
          164|

       error: function 'anonymous lambda' called with unexpected argument 'withAWS'
       at /nix/store/dz79hkzhfjqv80a8sp43ldndgsc8fan4-source/pkgs/tools/package-management/nix/modular/packaging/everything.nix:1:1:
            1| {
             | ^
            2|   lib,

@infinisil
Copy link
Member Author

@K900 Thanks, fix in #397730

@infinisil
Copy link
Member Author

Nevermind, CI for the above fails, revert here for now: #397738

@Mic92
Copy link
Member

Mic92 commented Apr 10, 2025

Try updating again. The first packaged version of nix 2.28 used the modular build. But not on master

@infinisil
Copy link
Member Author

@Mic92 Did anything change since yesterday that would make it work now?

@Mic92
Copy link
Member

Mic92 commented Apr 11, 2025

We don't use this packaging for nix 2.28 in master. So your failure must related to an old revision.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: continuous integration Affects continuous integration (CI) in Nixpkgs, including Ofborg and GitHub Actions 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 12.approvals: 3+ This PR was reviewed and approved by three or more persons. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

7 participants