Nixpkgs/Create and debug packages: Difference between revisions
imported>Milahu m YOUR-GITHUB-ACCOUNT-NAME -> YOURNAME |
imported>Tobias.bora No edit summary |
||
Line 223: | Line 223: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
$ export out=~/tmpdev/bc-build/out | $ export out=~/tmpdev/bc-build/out | ||
$ source $stdenv/setup | |||
$ set -x # Optional: it prints all commands, can be practical to debug | $ set -x # Optional: it prints all commands, can be practical to debug | ||
$ set +e # Optional: do not quit the shell on simple errors, Ctrl-C,... | |||
$ genericBuild | $ genericBuild | ||
</syntaxhighlight> | </syntaxhighlight> |