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

Remove usage of alias #253

Closed
wants to merge 1 commit into from
Closed

Remove usage of alias #253

wants to merge 1 commit into from

Conversation

SuperSandro2000
Copy link
Contributor

Without this change I get the following error when I have aliases disabled in config.nix

error:
       … while calling the 'derivationStrict' builtin

         at /derivation-internal.nix:9:12:

            8|
            9|   strict = derivationStrict drvAttrs;
             |            ^
           10|

       … while evaluating derivation 'nix-shell'
         whose name attribute is located at /nix/store/vf6skxhiqknlnqcxh8n4z2jldzzpb171-source/pkgs/stdenv/generic/make-derivation.nix:348:7

       … while evaluating attribute 'buildInputs' of derivation 'nix-shell'

         at /nix/store/vf6skxhiqknlnqcxh8n4z2jldzzpb171-source/pkgs/stdenv/generic/make-derivation.nix:395:7:

          394|       depsHostHost                = elemAt (elemAt dependencies 1) 0;
          395|       buildInputs                 = elemAt (elemAt dependencies 1) 1;
             |       ^
          396|       depsTargetTarget            = elemAt (elemAt dependencies 2) 0;

       error: undefined variable 'nixUnstable'

       at /nix/store/d7axyqzr807l6ml099jzqbjhiy36mxcn-source/flake.nix:166:13:

          165|           buildInputs = with pkgs; [
          166|             nixUnstable
             |             ^
          167|             cargo

@rvem
Copy link
Member

rvem commented Jan 10, 2024

I wonder if this nixUnstable is needed at all nowadays. AFAIR it was introduced back in the days when only unstable nix version had flakes support, which is no longer the case now

@SuperSandro2000 SuperSandro2000 closed this by deleting the head repository Jan 10, 2024
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

Successfully merging this pull request may close these issues.

2 participants