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-shell fails on NixOS 20.03 #4

Open
curiousleo opened this issue Jul 1, 2020 · 1 comment
Open

nix-shell fails on NixOS 20.03 #4

curiousleo opened this issue Jul 1, 2020 · 1 comment

Comments

@curiousleo
Copy link

curiousleo commented Jul 1, 2020

$ nixos-version 
20.03.2411.30fb4e1e206 (Markhor)
$ nix-shell --show-trace 
error: while evaluating the attribute 'buildInputs' of the derivation 'nix-shell' at /nix/store/qkm1m2r4609k7lx60lmcfpyy59pb75f8-nixos-20.03.2411.30fb4e1e206/nixos/pkgs/build-support/mkshell/default.nix:28:3:
while evaluating 'assertValidity' at /nix/store/qkm1m2r4609k7lx60lmcfpyy59pb75f8-nixos-20.03.2411.30fb4e1e206/nixos/pkgs/stdenv/generic/check-meta.nix:247:20, called from /nix/store/qkm1m2r4609k7lx60lmcfpyy59pb75f8-nixos-20.03.2411.30fb4e1e206/nixos/pkgs/stdenv/generic/make-derivation.nix:278:18:
while evaluating 'checkValidity' at /nix/store/qkm1m2r4609k7lx60lmcfpyy59pb75f8-nixos-20.03.2411.30fb4e1e206/nixos/pkgs/stdenv/generic/check-meta.nix:228:19, called from /nix/store/qkm1m2r4609k7lx60lmcfpyy59pb75f8-nixos-20.03.2411.30fb4e1e206/nixos/pkgs/stdenv/generic/check-meta.nix:248:18:
while evaluating 'hasDeniedUnfreeLicense' at /nix/store/qkm1m2r4609k7lx60lmcfpyy59pb75f8-nixos-20.03.2411.30fb4e1e206/nixos/pkgs/stdenv/generic/check-meta.nix:64:28, called from /nix/store/qkm1m2r4609k7lx60lmcfpyy59pb75f8-nixos-20.03.2411.30fb4e1e206/nixos/pkgs/stdenv/generic/check-meta.nix:229:8:
while evaluating 'isUnfree' at /nix/store/qkm1m2r4609k7lx60lmcfpyy59pb75f8-nixos-20.03.2411.30fb4e1e206/nixos/pkgs/stdenv/generic/check-meta.nix:50:14, called from /nix/store/qkm1m2r4609k7lx60lmcfpyy59pb75f8-nixos-20.03.2411.30fb4e1e206/nixos/pkgs/stdenv/generic/check-meta.nix:67:5:
while evaluating 'toList' at /nix/store/qkm1m2r4609k7lx60lmcfpyy59pb75f8-nixos-20.03.2411.30fb4e1e206/nixos/lib/lists.nix:283:12, called from /nix/store/qkm1m2r4609k7lx60lmcfpyy59pb75f8-nixos-20.03.2411.30fb4e1e206/nixos/pkgs/stdenv/generic/check-meta.nix:67:15:
while evaluating the attribute 'meta.license' at /home/leo/Code/kind-kubenix/nix/kind.nix:28:5:
undefined variable 'stdenv' at /home/leo/Code/kind-kubenix/nix/kind.nix:28:15

I assume that there is some past version of nixpkgs where this worked -- would you be able to provide a pin so nix-shell works whatever the local nixpkgs version?

@gilligan
Copy link
Owner

gilligan commented Jul 1, 2020 via email

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