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

Multiple imports cause errors #1

Open
Nekroze opened this issue Sep 1, 2019 · 0 comments
Open

Multiple imports cause errors #1

Nekroze opened this issue Sep 1, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@Nekroze
Copy link
Owner

Nekroze commented Sep 1, 2019

When imported multiple times, evaluation fails for me with a peculiar (because it does not seem directly related) error:

error: while evaluating the attribute 'config' at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/lib/eval-config.nix:58:5:
while evaluating the attribute 'config' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:87:25:
while evaluating 'yieldConfig' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:74:29, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:73:16:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:80:24, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:80:11:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:81:26, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:81:13:
The option `outPath' defined in `/etc/nixos/components/vms.nix' does not exist.
building Nix...
error: while evaluating the attribute 'config' at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/lib/eval-config.nix:58:5:
while evaluating the attribute 'config' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:87:25:
while evaluating 'yieldConfig' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:74:29, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:73:16:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:80:24, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:80:11:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:81:26, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:81:13:
The option `outPath' defined in `/etc/nixos/components/vms.nix' does not exist.
building the system configuration...
error: while evaluating the attribute 'config.system.build.toplevel' at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/lib/eval-config.nix:58:5:
while evaluating the attribute 'config' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:87:25:
while evaluating 'yieldConfig' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:74:29, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:73:16:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:80:24, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:80:11:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:81:26, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:81:13:
The option `outPath' defined in `/etc/nixos/components/vms.nix' does not exist.

I have yet to do a minimal reproduction of this error.

@Nekroze Nekroze added the bug Something isn't working label Sep 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant