Talk: Nix command/show-derivation

From NixOS Wiki
Jump to: navigation, search

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.

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