Nixpkgs/Create and debug packages: Difference between revisions
Tomodachi94 (talk | contribs) m ryantm link -> canonical Nixpkgs manual |
m 'show-derivation' is a deprecated alias for 'derivation show' |
||
Line 197: | Line 197: | ||
You would have seen the dependencies downloading, but the ''bc-build'' directory remains empty. The build system would next invoke a builder with some arguments. You can obtain the exact name of the builder (usually '''bash''') and the arguments '''args''' of the builder (typically a shell script) by checking the corresponding value in: | You would have seen the dependencies downloading, but the ''bc-build'' directory remains empty. The build system would next invoke a builder with some arguments. You can obtain the exact name of the builder (usually '''bash''') and the arguments '''args''' of the builder (typically a shell script) by checking the corresponding value in: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
$ nix show | $ nix derivation show $(nix-instantiate .) | ||
</syntaxhighlight> | </syntaxhighlight> | ||