Continuous Integration (CI): Difference between revisions

imported>Mic92
fix link
imported>Mic92
Line 3: Line 3:
TODO: some general tips & tricks
TODO: some general tips & tricks


== nix-build, without downloading the result if already built ==
== Avoid downloading already built results ==


<code>nix-build</code> will always ensure the built store path is put in the local store, be it by building or by downloading from a substituter. On CI, we often only want to check whether we can build the derivation, without using or running the output.
<code>nix-build</code> will always ensure the built store path is put in the local store, be it by building or by downloading from a substituter. On CI, we often only want to check whether we can build the derivation, without using or running the output.