jdholtz / pacman-venv Goto Github PK
View Code? Open in Web Editor NEWCreate an isolated virtual environment for Pacman and supported AUR helpers
License: MIT License
Create an isolated virtual environment for Pacman and supported AUR helpers
License: MIT License
running pacman-venv venv
asks for sudo password for "Installing base environment"
can it be rootless?
Same for installing packages in the venv, it asks for sudo password.
No response
Hey, thanks for taking the time to make this awesome tool.
I'm unable to activate a virtual environment when using any shell other than bash
. This is really more of a minor annoyance (I can just switch to bash
easily enough), but I wasn't sure if this was identified by you and/or intentional for some reason.
I'm happy to provide you with any additional information you might need from my configuration.
zsh
pacman-venv test-env
source test-venv/bin/pacman-venv-activate
realpath: '': No such file or directory
create_path:read:2: bad option: -a
pacman
command: zsh: no such file or directory: ./.pacman-venv-pacman
bash
source test-venv/bin/pacman-venv-activate
pacman -Qs
A pacman-venv
virtual environment can be successfully created regardless of the active shell environment
pacman-venv --version
: Pacman Virtual Environment v0.1
No response
First of all, thanks SO MUCH for this project! I was looking for something exactly like this, being a Python's virtualenv
enthusiast.
Small issue I found: When I activate a new pacman-venv
, the name of the virtual environment will not appear in the prompt to indicate it's active.
It still seems to be working fine, since both pacman
and yay
binaries are the ones from the venv.
❯ which yay
/home/matmat/dev/3d-gaussian-splat/pacvenv/pacman-venv-shims/yay
❯ which pacman
/home/matmat/dev/3d-gaussian-splat/pacvenv/pacman-venv-shims/pacman
For the record, python's virtualenv
show up as expected in the prompt.
❯ python3 -m virtualenv python-venv-test
❯ source python-venv-test/bin/activate
Create new virtual env pacvenv
: pacman-venv pacvenv
Activate it running source pacvenv/bin/pacman-venv-activate
Notice that the virtual env name does not show up in the prompt (although it's active).
No response
No response
No response
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.