Cheatsheet: Difference between revisions
Prefixed comments that start from beginning of line with $, to make them highlighted as comments, not as root user command |
m →Get the store path for a package: run nix-build with --no-out-link to not produce a link |
||
| Line 20: | Line 20: | ||
$ nix-build '<nixpkgs>' --no- | $ nix-build '<nixpkgs>' --no-out-link -A xorg.libXtst | ||
/nix/store/nlpnx21yjdjx2ii7ln4kcmbm0x1vy7w9-libXtst-1.2.3 | /nix/store/nlpnx21yjdjx2ii7ln4kcmbm0x1vy7w9-libXtst-1.2.3 | ||
</syntaxhighlight> | </syntaxhighlight> | ||