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!

  • texture
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 days ago

    this seems pretty cool. i might even give this a go.

    for anyone reading this, are there any dot file managers that would work well in tandem with supac? or just any dot file manager recommends?

    • innocentz3r0@programming.devOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 day 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
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 hours 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.