NixOS/nix.dev

Problem in cross compilation tutorial - determining the

henrik-ch opened this issue · 0 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