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!

  • innocentz3r0@programming.devOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    6 days ago

    Thanks for the kind words! For dotfiles, I used org-babel for a long time, keeping a literate config. Now I use a git repo to hold everything with a script to pull in whatever I think is necessary. That said, one of the long term plans for supac is to add dotfile management as well, something like nix-wrapper does it. Although it will certainly take some time before we get there.

    • texture@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 days ago

      appreciate the reply.

      at this time i have zero experience in using any dotfile managers, so i’ll look into what youve said. cheers.