NixOS / nix.dev

Official documentation for getting things done with Nix.

Home Page:https://nix.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problem in cross compilation tutorial - determining the

henrik-ch opened this issue · comments

Observations
when running the following command on my nixos machine:

gnu-config=$(nix-build '' -I nixpkgs=channel:nixos-22.11 -A gnu-config)
I get:
bash: gnu-config=/nix/store/mj06ijwwcpvy8qn52ggscivy8smc2rw0-gnu-config-2021-01-25: No such file or directory

Problem
In my case, the bash variable doesn't get set.

Approaches
Change the variable name to not include the - (hyphen)

Willing to help?
Yes