]> git.scottworley.com Git - pinch/commit
Stop using ancient nix_2_3
authorScott Worley <scottworley@scottworley.com>
Wed, 9 Jul 2025 23:17:27 +0000 (16:17 -0700)
committerScott Worley <scottworley@scottworley.com>
Wed, 9 Jul 2025 23:29:03 +0000 (16:29 -0700)
commit2a6cedfe22d12056af5240b983262e98cd5f131d
treeccb93de328699ded62b10a8ce427a4e309790508
parent1b7ac5ff572bbdd96a5edc1768ab9192e4458db1
Stop using ancient nix_2_3

Nix commit 787469c7b66aec12ab6847e7db2cdc8aef5c325e removed
<nix/unpack-channel.nix>, preferring to stuff its contents into the nix
binary & write it out to a temp file to use it.

Pinch unpacks channels.  So to retain access to unpack-channel.nix,
pinch pinned its nix dependency to nix 2.3.

This is no longer viable.  The 2.3 branch is no longer maintained.
It now has known security vulnerabilities, noted in knownVulnerabilities
(which causes it to refuse to build).

So now pinch does it the same way as nix, holding its own little
unpack-channel.nix and writing it out to a temp file to use it.

This lets us go back to not caring about the version of the nix
dependency.
Changelog
default.nix
pinch.py
tests/alias.sh
tests/core.sh
tests/multi-update.sh
tests/pin-twice.sh
tests/profile.sh
tests/symlink.sh