spack VS digga

Compare spack vs digga and see what are their differences.

spack

A flexible package manager that supports multiple versions, configurations, platforms, and compilers. (by spack)

digga

A flake utility library to craft shell-, home-, and hosts- environments. (by divnix)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
spack digga
52 23
3,949 978
2.3% 0.4%
10.0 2.4
3 days ago 9 months ago
Python Nix
Apache-2.0 or MIT MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

spack

Posts with mentions or reviews of spack. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-06.
  • Autodafe: "freeing your freeing your project from the clammy grip of autotools."
    4 projects | news.ycombinator.com | 6 Apr 2024
    > Are we talking about the same autotools?

    Yes. Instead of figuring out how to do something particular with every single software package, I can do a --with-foo or --without-bar or --prefix=/opt/baz-1.2.3, and be fairly confident that it will work the way I want.

    Certainly with package managers or (FreeBSD) Ports a lot is taken care of behind the scenes, but the above would also help the package/port maintainers as well. Lately I've been using Spack for special-needs compiles, but maintainer ease also helps there, but there are still cases one a 'fully manual' compile is still done.

    > Suffice it to say, I prefer to work with handwritten makefiles.

    Having everyone 'roll their own' system would probably be worse, because any "mysteriously failure" then has to be debugged specially for each project.

    Have you tried Spack?

    * https://spack.io

    * https://spack.readthedocs.io/en/latest/

  • FreeBSD has a(nother) new C compiler: Intel oneAPI DPC++/C++
    2 projects | news.ycombinator.com | 7 Mar 2024
    Well, good luck with that, cause it's broken.

    Previous release miscompiled Python [1]

    Current release miscompiles bison [2]

    [1] https://github.com/spack/spack/issues/38724

    [2] https://github.com/spack/spack/issues/37172#issuecomment-181...

  • Essential Command Line Tools for Developers
    29 projects | dev.to | 15 Jan 2024
    gh is available via Homebrew, MacPorts, Conda, Spack, Webi, and as a…
  • The Curious Case of MD5
    4 projects | news.ycombinator.com | 3 Jan 2024
    > I can't count the number of times I've seen people say "md5 is fine for use case xyz" where in some counterintuitive way it wasn't fine.

    I can count many more times that people told me that md5 was "broken" for file verification when, in fact, it never has been.

    My main gripe with the article is that it portrays the entire legal profession as "backwards" and "deeply negligent" when they're not actually doing anything unsafe -- or even likely to be unsafe. And "tech" knows better. Much of tech, it would seem, has no idea about the use cases and why one might be safe or not. They just know something's "broken" -- so, clearly, we should update.

    > Just use a safe one, even if you think you "don't need it".

    Here's me switching 5,700 or so hashes from md5 to sha256 in 2019: https://github.com/spack/spack/pull/13185

    Did I need it? No. Am I "compliant"? Yes.

    Really, though, the main tangible benefit was that it saved me having to respond to questions and uninformed criticism from people unnecessarily worried about md5 checksums.

  • Spack Package Manager v0.21.0
    1 project | news.ycombinator.com | 12 Nov 2023
  • Show HN: FlakeHub – Discover and publish Nix flakes
    2 projects | news.ycombinator.com | 22 Aug 2023
  • Nixhub: Search Historical Versions of Nix Packages
    3 projects | news.ycombinator.com | 20 Jul 2023
    [1] https://github.com/spack/spack/blob/develop/var/spack/repos/...
  • Cython 3.0 Released
    4 projects | news.ycombinator.com | 18 Jul 2023
    In Spack [1] we can express all these constraints for the dependency solver, and we also try to always re-cythonize sources. The latter is because bundled cythonized files are sometimes forward incompatible with Python, so it's better to just regenerate those with an up to date cython.

    [1] https://github.com/spack/spack/

  • Linux server for physics simulations
    1 project | /r/linux | 7 Jul 2023
    You want to look at the tools used for HPC systems, these are generally very well tried and tested and can be setup for single machine usage. Remote access - we use ssh, but web interfaces such as Open On Demand exist - https://openondemand.org/. For managing Jobs, Slurm is currently the most popular option - https://slurm.schedmd.com/documentation.html. For a module system (to load software and libraries per user), Spack is a great - https://spack.io/. You might also want to consider containerisation options, https://apptainer.org/ is a good option.
  • Simplest way to get latest gcc for any platform ?
    3 projects | /r/cpp | 31 May 2023
    git clone https://github.com/spack/spack.git ./spack/bin/spack install gcc

digga

Posts with mentions or reviews of digga. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-08.
  • Looking for dotfiles repo examples
    9 projects | /r/NixOS | 8 Nov 2022
    This one issue may clear things up, seems like my config is a little outdated: https://github.com/divnix/digga/pull/385
  • Building a highly optimized home environment with Nix
    9 projects | /r/NixOS | 15 Sep 2022
    I'm new to the Nix world, but so far I've come across Divnix's Digga, Numtide's DevShell, and Misterio77's nix-starter-configs.
  • Need for a configuration framework?
    5 projects | /r/NixOS | 7 Sep 2022
    There are config templates / configuration helper libraries that try to make this easier, for example digga/devos.
  • (meme) It's a temporary setback really
    1 project | /r/NixOS | 29 Aug 2022
    https://nixos.wiki/wiki/Flakes, especially the “see also” section. If you’re looking to use for NixOS config across multiple hosts, digga (see the repo for example template) is pretty nice for encapsulating a lot of boilerplate.
  • Sharing configuration between NixOS and MacOS
    6 projects | /r/NixOS | 25 May 2022
    The digga library, while being more complex to use than other solutions here, got a pretty elegant solution for it merged a few weeks ago. Still some cracks that are getting smoothed over, but it seems to work.
  • Best practices for organizing code repository for multiple machines? What about deployment?
    5 projects | /r/NixOS | 10 Apr 2022
    I like the concept digga/devos uses (unfortunately their stuff kind of is an overengineered incomprehensible mess): They use: - modules: for modules like in nixpkgs (i.e. stuff that defines options and generates configuration based on that options; are included into every host) - profiles: concrete configuration, can be included to host definitions - suites: sets of profiles (so you can for example have a desktop suite with all your profiles with "desktop" configuration options and apply that to all your desktop computers)
  • Nix: An idea whose time has come
    17 projects | news.ycombinator.com | 18 Feb 2022
  • The Curse of NixOS
    35 projects | news.ycombinator.com | 24 Jan 2022
    For the system, I like the devos template:

    https://github.com/divnix/devos

    The idea of flakes is how you define inputs, and you define the system (and packages, and shell etc.) in the outputs using the inputs. The inputs are git repos which point to other flakes. You can mix and match these as much as you want (see the devos repo for examples) and when you build the derivation, it generates a lockfile for exact commits in that point in time what were used in the given inputs.

    You commit the lockfile and in the other systems where you pull your config from the repo, it uses exactly those commits and installs the same versions as you did in your other systems.

    This was quite annoying and hard to do before flakes. Now it's easy.

    The problem what people face with building their system as a flake is combining the packages so you can point to `jq` from the unstable nixos and firefox from the stable train. I think this aspect needs better documentation so it wouldn't be so damn hard to learn (believe me, I know). Luckily there are projects like devos that give a nice template for people to play with (with documentation!)

    Another use for flakes is to create a development shell for your repo, an example what I did a while ago:

    https://github.com/pimeys/nix-prisma-example

    Either have `nix-direnv` installed, enter the directory and say `direnv allow`, or just `nix develop` and it will gather, compile and install the correct versions of packages to your shell. Updating the packages? Call `nix flake update` in the directory, commit the lockfile and everybody else gets the new versions to their shell.

  • What's the proper way to set up nix / home manager w/ flakes, directory wise?
    3 projects | /r/NixOS | 20 Nov 2021
    Yes, I put the repository in ~/nix. My repository is based on devos, but I am thinking of switching to a different setup, because I don't want to depend on a framework which can be an issue in updating.
  • The future of Home Manager and Flakes
    4 projects | /r/NixOS | 10 Nov 2021
    I no longer use the official way since I have switched to flakes. I am currently using a devos-based config, which is a boilerplate that depends on a Nix toolchain, but I plan on rewriting the config with flake-utils-plus. You probably can install home-manager using deploy-rs. See the following comment:

What are some alternatives?

When comparing spack and digga you can also consider the following projects:

HomeBrew - 🍺 The missing package manager for macOS (or Linux)

Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]

nixpkgs - Nix Packages collection & NixOS

nixos-config - Mirror of https://code.balsoft.ru/balsoft/nixos-config

nix-processmgmt - Experimental Nix-based process management framework

nixos - My NixOS Configurations

Ansible - Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy and maintain. Automate everything from code deployment to network configuration to cloud management, in a language that approaches plain English, using SSH, with no agents to install on remote systems. https://docs.ansible.com.

sops-nix - Atomic secret provisioning for NixOS based on sops

ohpc - OpenHPC Integration, Packaging, and Test Repo

nix-darwin - nix modules for darwin

NixOS-docker - DEPRECATED! Dockerfiles to package Nix in a minimal docker container

nixos-generators - Collection of image builders [maintainer=@Lassulus]