Nixpkgs/Create and debug packages: Difference between revisions

imported>Rapenne-s
Remove an example of nix-env as a way to install packages
imported>Rapenne-s
replace nix-env with nix-shell for using nox
Line 381: Line 381:
If you are updating a package's version, you can use nox to make sure all packages that depend on the updated package still compile correctly.
If you are updating a package's version, you can use nox to make sure all packages that depend on the updated package still compile correctly.


First make sure it is in your environment:
First make sure it is available in your shell:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
nix-env -i nox
nix-shell -p nox
</syntaxhighlight>
</syntaxhighlight>