nix
nixrewrite
nix | nixrewrite | |
---|---|---|
2 | 1 | |
12 | 10 | |
- | - | |
7.9 | 0.0 | |
4 days ago | almost 5 years ago | |
Nix | C++ | |
- | GNU Lesser General Public License v3.0 only |
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.
nix
-
NixOS 21.05 Released
I was able to make the switch over cold turkey after ~9 years of ArchLinux.
By sheer happenstance, I blogged earlier this week about one particular killer feature that doesn't get enough air time: https://news.ycombinator.com/item?id=27344677
My not-flake-yet configuration can be found at https://github.com/rraval/nix
-
Nix solves the package manager ejection problem
> How do NixOS users typically manage software that is not a Nix package
By writing a Nix package for it (I don't mean for this to sound flippant, tone is a bit hard to convey over text).
For example I have this alpha quality rust binary that I'm developing but I also want a stable version installed at the OS level. I write a Nix package and simply compose it into my overall NixOS configuration alongside the more official Nixpkgs: https://github.com/rraval/nix/blob/master/git-nomad.nix
> like a source code tarball where you would traditionally run configure && make && make install?
Nix has a bunch of defaults that make a conventional package like this straightforward.
Here's a package for a vanilla C binary + library that does the `autoreconf && ./configure && make && make install` dance: https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/secu...
It's almost a little misleading because the actual steps are largely inherited from the defaults, you can read more about `stdenv.mkDerivation` here: https://nixos.org/guides/nix-pills/fundamentals-of-stdenv.ht...
nixrewrite
-
Nix solves the package manager ejection problem
3) You can cheat in various ways if your project truly requires being updated by only changing the glibc and no recompilation is feasible. Some options: the way OpenGL and graphics is currently done in NixOS, nix-rewrite (https://github.com/timjrd/nixrewrite), and LD_PRELOAD. Breaking the abstraction in this way may have practical benefits, but you also lose the reproducibility and excellent bookkeeping of all the details that Nix provides.
What are some alternatives?
napalm - Support for building npm packages in Nix and lightweight npm registry [maintainer @jtojnar]
nomia - A system for precise, efficient resource management across every domain and resource type.
Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]
NixOS-docker - DEPRECATED! Dockerfiles to package Nix in a minimal docker container
nixGL - A wrapper tool for nix OpenGL application [maintainer=@guibou]
runix
nixos-generators - Collection of image builders [maintainer=@Lassulus]
nix-bundle - Bundle Nix derivations to run anywhere!
flake-utils-plus - Use Nix flakes without any fluff.
nix-processmgmt - Experimental Nix-based process management framework
config
poetry2nix - Convert poetry projects to nix automagically [maintainer=@adisbladis]