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

Cannot install extraCompatPackages as of latest update. #163

Closed
YaroKasear opened this issue Mar 9, 2024 · 1 comment · Fixed by #164
Closed

Cannot install extraCompatPackages as of latest update. #163

YaroKasear opened this issue Mar 9, 2024 · 1 comment · Fixed by #164

Comments

@YaroKasear
Copy link

I just pulled down an update this morning, and I was stopped by this error:

error:
       … while calling the 'head' builtin

         at /nix/store/scbcfz9nm6im7sx2jwkllj4h8fgb5vcg-source/lib/attrsets.nix:967:11:

          966|         || pred here (elemAt values 1) (head values) then
          967|           head values
             |           ^
          968|         else

       … while evaluating the attribute 'value'

         at /nix/store/scbcfz9nm6im7sx2jwkllj4h8fgb5vcg-source/lib/modules.nix:809:9:

          808|     in warnDeprecation opt //
          809|       { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
             |         ^
          810|         inherit (res.defsFinal') highestPrio;

       (stack trace truncated; use '--show-trace' to show the full trace)

       error: The option `programs.steam.extraCompatPackages' in `/nix/store/scbcfz9nm6im7sx2jwkllj4h8fgb5vcg-source/nixos/modules/programs/steam.nix' is already declared in `/nix/store/2h4q1hiszh3gbkpk53ldj4f7kp2n5cjy-source/flake.nix#nixosModules.steamCompat'.

I am not defining the extraCompatPackages anywhere but in that NixOS module, so I think something went wrong here. Needless to say, I should be able to set that to install things like Proton-GE, correct?

@NotAShelf
Copy link
Contributor

Looks like nixpkgs has received an extraCompatPackages option in the steam module. You may remove the nixos module provided by nix-gaming

See NixOS/nixpkgs#293564

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 a pull request may close this issue.

2 participants