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

fix: Remove unused inherit that break with nix 2.21 #55

Closed
wants to merge 1 commit into from

Conversation

tinou98
Copy link

@tinou98 tinou98 commented Mar 13, 2024

With latests nix (2.21) we have an error about undefined variable (even when not used)

       error: undefined variable 'system'
       at /nix/store/dnldnw2fvdx6x2vhhxh0kxkm67g3l4sx-source/flake.nix:62:36:
           61|         default = pkgs.callPackage ./pkgs/kubenix.nix {
           62|           inherit (self.packages.${system});
             |                                    ^
           63|           evalModules = self.evalModules.${pkgs.system};

It seems that this line was useless (inheriting nothing), removing it fixed the issue

@hall
Copy link
Owner

hall commented Mar 26, 2024

Merged the other fix submitted for this (not for any good reason, just happened to look at it first), #58. So I'll close this one. Thanks!

@hall hall closed this Mar 26, 2024
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.

2 participants