godot: fix eval on Nix 2.3#390740
Merged
philiptaron merged 1 commit intoNixOS:masterfrom Mar 17, 2025
Merged
Conversation
corngood
approved these changes
Mar 17, 2025
Sigmanificient
approved these changes
Mar 17, 2025
Member
There was a problem hiding this comment.
tested with nix-shell -p nix_2_3, it seems to indeed fix the build failure:
[nix-shell:~/nixpkgs]$ nix-build --version
nix-build (Nix) 2.3.18
[nix-shell:~/nixpkgs]$ nix-build -A godot
warning: unknown setting 'experimental-features'
warning: Nix search path entry 'nixpkgs' does not exist, ignoring
error: syntax error, unexpected '/', expecting ID or OR_KW or DOLLAR_CURLY or '"', at /home/sigmanificient/nixpkgs/pkgs/development/tools/godot/default.nix:10:23
[nix-shell:~/nixpkgs]$ git apply 390740.patch
[nix-shell:~/nixpkgs]$ nix-build -A godot
warning: unknown setting 'experimental-features'
warning: Nix search path entry 'nixpkgs' does not exist, ignoring
/nix/store/ahhwjx4md9spbg8mpfa06rbaqmki8gln-godot4-4.4-stable
[nix-shell:~/nixpkgs]$
Member
|
That was fast! |
Contributor
Author
|
Thanks! |
Member
|
In a round-about way, kind of very neat how nixpkgs-vet CI found this! |
13 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix evaluation on
nixVersions.minimum(Nix 2.3) so thatnixpkgs-vetis able to work on all versions of Nix that are supported in nixpkgs.This was detected with
nixpkgs-vet's automated update: NixOS/nixpkgs-vet#157Before:
The error is:
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)