Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use non-deprecated nixpkgs API #163

Merged
merged 1 commit into from
Sep 12, 2024
Merged

Use non-deprecated nixpkgs API #163

merged 1 commit into from
Sep 12, 2024

Conversation

K900
Copy link
Contributor

@K900 K900 commented Sep 4, 2024

@zowoq zowoq merged commit 96a04a2 into nix-community:main Sep 12, 2024
2 checks passed
@peterwaller-arm
Copy link

I just bisected an eval failure to this:

v = pkgs.stdenv.buildPlatform.rust.rustcTarget;

       error: attribute 'rust' missing
       at /nix/store/by17ag6v7rp41pw1qvq3ync4c5z5bync-source/default.nix:28:7:
           27|
           28|   v = pkgs.stdenv.buildPlatform.rust.rustcTarget;
             |       ^
           29|
       Did you mean rustc?

Repro command: NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1 nix eval --impure --raw --override-input fenix . github:elfshaker/elfshaker.

@peterwaller-arm
Copy link

Ah, just realised it was using the 23.05 nixpkgs release branch. Bumping nixpkgs to 24.05 fixes it, as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants