cross-posted from: https://programming.dev/post/45148310

Supac - a declarative package manager written in Rust, scriptable in nushell

Supac is a declarative package manager written in Rust fully scriptable in nushell. It’s meant to make it easy to use the native package managers in existing distros without going through the associated headaches of using Nix, while maintaining the ergonomics of structured data in nushell.

Currently supported backends are:

  • Archlinux and derivatives
  • flatpak
  • cargo/cargo-binstall
  • uvx (packages only for now)
  • rustup toolchains

I daily drive it, and it works well. Feel free to give it a try!

  • JC1@lemmy.ca
    link
    fedilink
    arrow-up
    1
    ·
    4 hours ago

    That is cool. I use dcli which is quite nice to use and easily manages dotfiles and scripts. I see you’ve added post install hooks which would allow to manage dotfiles for example.

    I really like to use a declarative package manager on a different distro than NixOS. My current install is managed entirely by that tool with specific scripts that modify some config files like fstab for instance.