Eelco Dolstra
Eelco Dolstra
Substitution could still be done for locked flake inputs, because there we *know* that we have all the attributes. We do have the `isLocked()` method, but we can't use it...
They are, this problem only occurs on the CLI if you pass `narHash` but not the other attributes.
I guess part of the issue is [the removal of `hasAllInfo()`](https://github.com/NixOS/nix/commit/af302267e5e02c8b373779fac979f20e094e7cfa), though even before that the `tarball` fetcher had this issue (since its `hasAllInfo()` just returned `true`). Regardless, correctness is...
Fixed with the 2.22.1 release.
Nix doesn't `fsync` changes to the Nix store by default (see the option `sync-before-registering`). So in case of a system crash, `manifest.json` can show up as a zero-byte file. You...
This is surprising because manifest version 3 has been supported since Nix 2.20.
This seems to be fixed on master (maybe because the lowdown dependency got updated?).
Actually I can't reproduce it on 2.18 either, e.g. ``` nix run nix/2.18.2 -- flake new --help ``` shows ``` · --template / -t template The template to use. Common...
If you're referring to Nix itself, you can get a static musl build by doing: `nix build nix#nix-static` For building your own stuff, you can use `pkgsStatic` in Nixpkgs. E.g....
It's only unambiguous right now because we have only one hash algorithm for each byte length. But #10600 adds BLAKE3 support, which has the same length as SHA256. So `nix...