Add on top of default.nix: with import <nixpkgs>{};
or simply run as nix-build '<nixpkgs>'
(i. e. for nix-build complaining) or rather nix-build -E 'with import <nixpkgs> {}; callPackage ./default.nix {}'
(or even import)
-
-
Save Creator54/4cf0cc8c74ff94bb9a980c5844ff74d9 to your computer and use it in GitHub Desktop.
nix complains "error: cannot auto-call a function that has an argument without a default value ('stdenv')"?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment