Wednesday triaging session
Attendees: @edolstra @roberth @bjth @ericson2314 @tomberek
Triaging
Allow gc-ing with a rootless daemon by thufschmitt · Pull Request #5380 · NixOS/nix · GitHub
Not a priority right now, but will be good to resume when interest returns.
(off-topic)
Rootless build require more work beyond this PR.
@ericson2314: Another concept is that NixOS might own its closure as root
whereas the other builds aren’t.
nix lock can modify lock files in the nix store and corrupt it · Issue #10139 · NixOS/nix · GitHub
Only breaks when the command runs with privileges that allow it to mount the store writable, which it does in a temporary namespace.
Asking to change a file as root, we might expect it to accidentally work.
Nonetheless a check is desirable.
Decision: idea approved for a check in the lock writing code.
Alternatives can be discussed.
fetchGit: allow fetching annotated tags by balsoft · Pull Request #6766 · NixOS/nix · GitHub
Appears to have been fixed/implemented,
tests/functional/fetchGit.sh
rev_tag2_nix=$(nix eval --impure --raw --expr "(builtins.fetchGit { url = \"file://$repo\"; ref = \"refs/tags/tag2\"; }).rev")
Is this still a problem? I suppose we might still need a test case for ref = "tag2"
, but since we’ve switched to libgit2
, we may have fixed this.
Meson check-in
We’ve hacked on Build manual with Meson by Ericson2314 · Pull Request #11224 · NixOS/nix · GitHub