ruffsl
September 3, 2025, 1:11am
18
Looks like that PR has since stalled out, and @philipwilk has now picked up the torch! Although they could use some help with patching nix for system wide testing and dogfooding:
master
← philipwilk:graceful-subfallback
Took another look just now and i think switching the for loops around in `Store:… :querySubstitutablePathInfos` is enough to fix it, it seemed to work when i pulled in packages by running `nix shell nixpkgs#(name)` in the installPhase environment, but I'm struggling a bit to figure out how to patch nix post 2.26 so I can test it on my whole system in different situations.
<details>
<summary>I've tried using this overlay that recompiles but doesnt seem to actually apply the patch</summary>
nix reports its version as `nix (Nix) 2.30.2+1` but it definitely hasn't applied my patch because it isn't behaving like the installPhase version is.
```nix
(final: prev: {
nixVersions = prev.nixVersions.extend (
finalNixV: prevNixV: {
nixComponents_2_30 =
(prevNixV.nixComponents_2_30.overrideScope (
finalScope: prevScope: {
aws-sdk-cpp = null;
withAWS = false;
}
)).appendPatches
[ ./ffb2ee8eefc9946a8ebb406cb1fe02734549406d.patch ];
}
);
})
```
</details>
5 Likes