Arch Linux specific virtual environments (universal NPM or lightweight Nix?) PoC

4 months ago 3

One more front-end for the ALPM library, implementing creation and management of lightweight GNU/Linux environments.

This is an experimental utility and lacks a set of security measures such as GNUPG keyring management, profiling, etc. Use it at your own risk!

In demonstration purposes, let's install figlet and configure environment to use it.

cat << EOF > figenv.json { "syncdbs": { "world": [ "https://mirrors.dotsrc.org/artix-linux/repos/world/os/x86_64/" ] }, "deps": [ "figlet>=2.2.5-6" ] } EOF pacenv -c figenv.json .figenv PATH+=":$PWD/.figenv/usr/bin" export FIGLET_FONTDIR=.figenv/usr/share/figlet/fonts/ figlet pacenv

I'll be happy to implement any improvements you suggest as soon as possible, but I have other things to do in my life, so if you want to contribute too, please do! I'll try to review them as soon as possible along with community!

Read Entire Article