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

nix flake show broken #27

Closed
gkze opened this issue Nov 18, 2024 · 2 comments
Closed

nix flake show broken #27

gkze opened this issue Nov 18, 2024 · 2 comments

Comments

@gkze
Copy link

gkze commented Nov 18, 2024

Hi, thanks for making this - love the interface and am migrating my mono-flake over.

In trying to execute nix flake show --all-systems, I see this error:

$ nix flake show --all-systems
nixcfg-v2 on  v2 [+] ❯ nix flake show --all-systems
warning: Git tree '/home/george/.config/nixcfg-v2' is dirty
git+file:///home/george/.config/nixcfg-v2
├───checks
error:
       … while evaluating the attribute 'optionalValue.value'
         at /nix/store/hfz1qqd0z8amlgn8qwich1dvkmldik36-source/lib/modules.nix:863:5:
          862|
          863|     optionalValue =
             |     ^
          864|       if isDefined then { value = mergedValue; }

       … while evaluating a branch condition
         at /nix/store/hfz1qqd0z8amlgn8qwich1dvkmldik36-source/lib/modules.nix:864:7:
          863|     optionalValue =
          864|       if isDefined then { value = mergedValue; }
             |       ^
          865|       else {};while evaluating definitions from `/nix/store/w56xvvbzd5s7zq332r0wzw90g340fir9-source/builtinModules/homeConfigurations.nix':

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

       error: function 'anonymous lambda' called without required argument 'pkgs'
       at /nix/store/7yca68l0blzp0bd3j344dlzi35iylv8m-source/home/george.nix:1:1:
            1| { pkgs, ... }:
             | ^
            2| {

Is there a case being missed when evaluating homeConfigurations?

@accelbread
Copy link
Collaborator

Is there a branch I can try to reproduce the issue from?

How are you setting homeConfigurations/home?

@accelbread
Copy link
Collaborator

accelbread commented Dec 12, 2024

Hey, feel free to re-open this issue if you still have the issue.

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

No branches or pull requests

2 participants