Jump to content

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

From Official NixOS Wiki
imported>Cpu
Updating to note the problem reported by l0b0 is fixed.
DoggoBit (talk | contribs)
m DoggoBit moved page Talk:Nix command/show-derivation to Talk:Nix (command)/show-derivation: Use disambiguation-style naming
 
(No difference)

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