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!

  • _hovi_@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    4 小时前

    Very cool. This one has piqued my interest more than dcli. I’ll be checking it out when I get the chance

    • innocentz3r0OP
      link
      fedilink
      arrow-up
      1
      ·
      2 小时前

      Dcli looks interesting! The long term goal of supac is to support many different relevant package managers as backends, so that all sorts of packages and language toolchains can be managed. Besides, nushell being a scripting AND shell language massively helps with that.

    • innocentz3r0OP
      link
      fedilink
      arrow-up
      4
      ·
      5 小时前

      From what I understand (I’ve never used mise), mise is meant for programming environments and tools. Supac works with your distribution’s package manager to manage all your system packages and also language toolchains like rustup and uvx (uvx backend doesn’t manage toolchains yet, it’s being developed though).

      What it doesn’t manage are programming environments, basically, you cannot use it to spawn something like a nix devshell. Hope it makes sense. This is more meant to be along the lines of something like nix, but friendlier and easier.