Skip to content

Bundle of fixes - #15716

Merged
Mic92 merged 6 commits into
NixOS:masterfrom
xokdvium:bundle-of-fixes
Apr 20, 2026
Merged

Bundle of fixes#15716
Mic92 merged 6 commits into
NixOS:masterfrom
xokdvium:bundle-of-fixes

Conversation

@xokdvium

Copy link
Copy Markdown
Contributor

Motivation

Pulled out from #15711. Should be good to go without waiting for the changes from that PR.

Context


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

It was only printing the base name, which isn't how we usually print store paths.
mountInput modifies lockedRef.input to stuff narHash into it.
…d::function

One slight blemish I noticed while touching this code. With C++23 we can simplify
things.
Turns out the readOnlyMode was always dangling in the C API and nobody
noticed... Previous commits just started accessing it, which was caught
by ASan. This is the minimal fix I can think of.
This is necessary for making flake store paths lazier and also slightly more
concise anyway.
@xokdvium
xokdvium requested a review from edolstra as a code owner April 20, 2026 18:57
@github-actions github-actions Bot added new-cli Relating to the "nix" command c api Nix as a C library with a stable interface labels Apr 20, 2026
This is thankfully not used by anything else anymore. Good riddance, since
all usages of it had bugs in them.
@Mic92
Mic92 enabled auto-merge April 20, 2026 19:29
@Mic92
Mic92 added this pull request to the merge queue Apr 20, 2026
Merged via the queue into NixOS:master with commit bf54efb Apr 20, 2026
16 checks passed
@xokdvium
xokdvium deleted the bundle-of-fixes branch April 20, 2026 20:34
@xokdvium xokdvium mentioned this pull request Jun 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c api Nix as a C library with a stable interface new-cli Relating to the "nix" command

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants