Difference between revisions of "Talk:Nix command/show-derivation"
From NixOS Wiki
(→The first example doesn't work: new section) |
(Updating to note the problem reported by l0b0 is fixed.) |
||
Line 6: | Line 6: | ||
[[User:L0b0|L0b0]] ([[User talk:L0b0|talk]]) 04:42, 10 December 2021 (UTC) | [[User:L0b0|L0b0]] ([[User talk:L0b0|talk]]) 04:42, 10 December 2021 (UTC) | ||
+ | |||
+ | I've fixed this. I believe it should be: | ||
+ | <pre>$ nix show-derivation 'nixpkgs.hello'</pre> | ||
+ | |||
+ | This works for me whereas using '#' produced the same error L0b0 reported. | ||
+ | |||
+ | --[[User:Cpu|Cpu]] ([[User talk:Cpu|talk]]) 20:23, 30 December 2021 (UTC) |
Latest revision as of 20:23, 30 December 2021
The first example doesn't work
$ nix show-derivation 'nixpkgs#hello' error: don't know what to do with argument 'nixpkgs#hello' Try 'nix --help' for more information.
L0b0 (talk) 04:42, 10 December 2021 (UTC)
I've fixed this. I believe it should be:
$ nix show-derivation 'nixpkgs.hello'
This works for me whereas using '#' produced the same error L0b0 reported.