Jump to content

Talk:Nix (command)/show-derivation: Difference between revisions

From Official NixOS Wiki
imported>L0b0
 
DoggoBit (talk | contribs)
m DoggoBit moved page Talk:Nix command/show-derivation to Talk:Nix (command)/show-derivation: Use disambiguation-style naming
 
(One intermediate revision by one other user not shown)
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:53, 14 June 2025

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)Reply

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.

--Cpu (talk) 20:23, 30 December 2021 (UTC)Reply