diff options
author | regnat <rg@regnat.ovh> | 2022-01-26 14:31:23 +0100 |
---|---|---|
committer | regnat <rg@regnat.ovh> | 2022-01-26 16:41:37 +0100 |
commit | 7bd85a3bf649a02a7bb428a8fb1f0f96ab690824 (patch) | |
tree | fb578c6a4ae4431ec99268226bbf6eced9b0205e /configure.ac | |
parent | 1fe3bfdeaf7c57e9f7044a22edfbdf6fb9629e9d (diff) |
Use the `nix` command (and flakes) in the CI
Apart from a slight simplification and a bit of dogfooding, this also
make the cache behavior more predictable.
For example `nix build .` and `nix build nix/$(git rev-parse HEAD)` will
yield the exact same path, while their “intuitive” non-flake equivalents
(`nix-build` and
`nix-build https://github.com/nixos/nix/archives/$(git rev-parse HEAD).tar.gz`)
don’t.
This was a pain for example in https://github.com/NixOS/nix/pull/5059
Also, the `bar-with-logs` log format is imho nicer (even in an
non-interactive context) because prefixing each log line with the name
of the derivation that produced it makes it much easier to follow what’s
going on.
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions