spack VS nixos-generators

Compare spack vs nixos-generators and see what are their differences.

spack

A flexible package manager that supports multiple versions, configurations, platforms, and compilers. (by spack)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
spack nixos-generators
52 20
3,949 1,508
2.3% 14.1%
10.0 8.3
2 days ago 2 days 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

nixos-generators

Posts with mentions or reviews of nixos-generators. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-26.
  • NixOS-generators – Collection of VM and Container disk image builders for NixOS
    4 projects | news.ycombinator.com | 26 Mar 2024
  • NixOS: Declarative Builds and Deployments
    13 projects | news.ycombinator.com | 14 Jan 2024
    https://github.com/nix-community/nixos-generators
  • NixOS RFC 136 accepted: A plan to stabilize the new CLI and Flakes incrementally
    11 projects | news.ycombinator.com | 12 Aug 2023
    Those Linode instructions are about installing an OS from an installation ISO from Linode's rescue mode. -- I'd consider that more a 'plus' to Linode that you get to be able to install whatever unsupported Linux on Linode's VMs. But, of course it's not as smooth as the officially supported images.

    Sibling comment mentions that NixOS provides ways to build VM images (e.g. https://github.com/nix-community/nixos-generators has a generator specifically for Linode).

    Another option is to use nixos-infect, which will replace a Linux distribution with a NixOS distribution. https://github.com/elitak/nixos-infect

    > At that point, I feel like all of the repeatability gains are gone. If I want to spin up a fresh server, I have to read a guide and set stuff up by hand?

    Just as with ansible, "git pull to deploy". You'd keep a copy of your NixOS configuration.nix somewhere else, and would be able to apply it later.

    > it really does let me just get a new VPS and deploy to it very fast

    Using a tool you're familiar with to get the job done is going to be faster than learning to use a tool you're unfamiliar with.

    I believe much of the use of NixOS is for hobby stuff, and for personal machines. (c.f. "In what environments do you use Nix", Development (1242) vs Home Server (845) vs Production (386) https://discourse.nixos.org/t/2022-nix-survey-results/18983).

  • Questions about Nix
    1 project | /r/NixOS | 17 Jun 2023
  • Couple of noob questions
    6 projects | /r/Nix | 20 May 2023
    If you need to generate lxc container in NixOS then perhaps this repo might be useful: https://github.com/nix-community/nixos-generators this article uses it https://www.thedroneely.com/posts/running-nixos-linux-containers/
  • disko-images - Create qcow2 images from NixOS + disko configuration
    3 projects | /r/NixOS | 18 May 2023
    You might wanna check out nix-community/nixos-generators, it’s maintained by the same dude as Disko
  • How to do machine specific config on EC2 using an official nixos ami?
    2 projects | /r/NixOS | 1 Apr 2023
    You can look at nixos-generators for support code that well let you take existing configs and build a variety of bootable images from them.
  • Flake to make NixOS iso
    2 projects | /r/NixOS | 21 Mar 2023
    You should take a look at NixOS Generators, it's a flake with configs to build common formats like ISO, LXC, Docker, etc. I use that to generate an ISO with my config, specifically the packages.iso section.
  • Need help with NixOs VM Generation
    2 projects | /r/NixOS | 25 Feb 2023
    I am trying to make use of https://github.com/nix-community/nixos-generators to generate qcow2 images from a NixOs configuration. Since it will be used with Scaleway, they require an efi bootable image.
  • [NixOS] How to Migrate From one Server to another? KVM to VMware
    1 project | /r/linuxquestions | 31 Jan 2023
    I haven't migrated machines from one vm provider to vmware, but I have provided a number of pregenerated nixos images (along the line of https://github.com/nix-community/nixos-generators) to clients to install onto vmware (and other - hyperv, xen, qemu, physical) hosts.

What are some alternatives?

When comparing spack and nixos-generators you can also consider the following projects:

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

poetry2nix - Convert poetry projects to nix automagically [maintainer=@adisbladis]

nixpkgs - Nix Packages collection & NixOS

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

nix-processmgmt - Experimental Nix-based process management framework

nix - Nix, the purely functional package manager

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.

nix-gaming - Gaming on Nix

ohpc - OpenHPC Integration, Packaging, and Test Repo

nixops - NixOps is a tool for deploying to NixOS machines in a network or cloud.

digga - A flake utility library to craft shell-, home-, and hosts- environments.