-
Notifications
You must be signed in to change notification settings - Fork 4
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
Comments
Your guess would be as good as mine. Clearly past me should not have been
silly enough to not pin nixpkgs.
Your best bet is probably a commit from nixpkgs-unstable around the time
this repo was published i’m afraid.
…On Wed 1. Jul 2020 at 13:17, Leonhard Markert ***@***.***> wrote:
$ 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?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#4>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAGYFEGJQTUJQJORFXO7LLRZMLNNANCNFSM4ONJ4B7A>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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?The text was updated successfully, but these errors were encountered: