0

I was able to run nix-shell in my codebase about two years back on another macbook.

I got a new freshly installed nix setup

❯ nix-env --version
nix-env (Nix) 2.12.0
❯ uname
Darwin
❯ sw_vers
ProductName:    macOS
ProductVersion: 12.0.1
BuildVersion:   21A559

And I'm getting this error

❯ nix-shell
error: attribute 'stdenv' missing

       at /nix/store/p3x4ha4dwj9agifi05wq0vf3m93p3vsx-source/pkgs/build-support/cc-wrapper/default.nix:62:8:

           61|   expand-response-params =
           62|     if buildPackages.stdenv.hasCC && buildPackages.stdenv.cc != "/dev/null"
             |        ^
           63|     then import ../expand-response-params { inherit (buildPackages) stdenv; }
(use '--show-trace' to show detailed location information)

my repo is a fork of reflex-stone, i tried to run it as well and it gives the same error.

I suspect its some version error.

iluvAS
  • 513
  • 4
  • 9

0 Answers0