]> git.scottworley.com Git - pinch/commit - pinch.py
Support restricted mode: Allow tarball access with search paths.
authorScott Worley <scottworley@scottworley.com>
Fri, 14 Jan 2022 05:55:09 +0000 (21:55 -0800)
committerScott Worley <scottworley@scottworley.com>
Fri, 14 Jan 2022 06:04:21 +0000 (22:04 -0800)
commit436195f097c503546a7d1d80f4e82964bcdc7392
tree0c277a3f8b32e509155532ead6c5c8cfa928e5ca
parent5144c1d383be505bef11f8191b41cbf3cf4a8e49
Support restricted mode: Allow tarball access with search paths.

This allows 'pinch update' to create a new profile.  Updating an
existing profile still doesn't work because nix-env can't read the
existing manifest.

Also, the search path names aren't the best.  Multiple links
probably don't work in restricted mode.  (This tool is deprecated
& is receiving minimal maintenance; patches welcome.)
Changelog
pinch.py
tests/alias.sh
tests/core.sh
tests/multi-update.sh
tests/pin-twice.sh
tests/profile.sh
tests/symlink.sh