nix.dev
nixpkgs
Our great sponsors
nix.dev | nixpkgs | |
---|---|---|
17 | 975 | |
2,041 | 15,656 | |
12.1% | 5.3% | |
9.6 | 10.0 | |
8 days ago | 6 days ago | |
Nix | Nix | |
Creative Commons Attribution Share Alike 4.0 | MIT License |
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.dev
-
Dependencies Belong in Version Control
Nix (https://nix.dev/) can provide all of this, although in a smarter way than just through dumping everything in the VCS. Some projects use it already to provide a reproducible development environment and if done right a clean build is just a `nix-build` away.
- An Overview of Nix in Practice
-
Virtualizing Development Environments in 2023
Author doesn’t mention it but I wonder if tried or considered Nix/NixOS’s reproducible developer environments and ruled them out for any reason. I couldn’t tell from the article if there’s something unique to his requirements that disqualifies them.
https://nixos.org/explore
https://nix.dev/
-
I'm almost ready to take the plunge, but first ...
if you want something a more in-depth, zero to nix is a great resource for all things nix (they have a section dedicated to flakes here, but i would pay attention to the notice at the top about reading some other things first), along with nix.dev, and of course, the nixos wiki article on flakes
-
Why not native support for pkgs.dockertools for apple silcion
On nix.dev it say I would need to cross compile to make it work, is there some way in which i can build natively on my machine.
-
Cachix 1.3: Nix uploads unleashed
Hey
Cachix founder here. Here are a few links for getting started:
- https://nix.dev Nix tutorials
- https://devenv.sh Fast, Declarative, Reproducible, and Composable Developer Environments
Let me know if you have any questions. Domen
- Zero to Nix, an unofficial, opinionated, gentle introduction to Nix
-
How to learn using NixOS?
Nix pills and nix.dev are my favorites, alongside the official documentation.
-
So I find nix really hard to learn and understand - is there any truly excellent resources out there on learning nix?
https://nix.dev/ is the best in depth resource I know but it's a work in progress.
-
Dev environments in the cloud are a half-baked solution
For folks looking to understand why this is so https://nix.dev and https://devenv.sh/
nixpkgs
-
Nix: The Breaking Point
I don't think so. The article is probably intended for the Nix community, so the author doesn't need to convince HN that something is going on. If as an outsider you are interested then you need to look into it yourself, the community has no obligation to make their internal conflicts legible to the outside world.
As an outsider myself, it certainly looks like something is going on as more than 20 Nixpkg maintainers left in a week: https://github.com/NixOS/nixpkgs/issues?q=label%3A%228.has%3...
- Maintainers Leaving
-
Air Force picks Anduril, General Atomics to develop unmanned fighter jets
https://github.com/NixOS/nixpkgs/commits?author=neon-sunset
-
Eelco Dolstra's leadership is corrosive to the Nix project
I see two signers in the top 6 displayed on https://github.com/NixOS/nixpkgs/graphs/contributors
-
3rd Edition of Programming: Principles and Practice Using C++ by Stroustrup
For a single file script, nix can make the package management quite easy: https://github.com/NixOS/nixpkgs/blob/master/doc/languages-f...
For example,
```
- NixOS/nixpkgs: There isn't a clear canonical way to refer to a specific package
-
NixOS Is Not Reproducible
Yes, Nix doesn't actually ensure that the builds are deterministic. In fact it works just fine if they aren't. There are packages in nixpkgs that aren't reproducible: https://github.com/NixOS/nixpkgs/issues?q=is%3Aopen+is%3Aiss...
-
The xz attack shell script
I'm not familiar with Bazel, but Nix in it's current form wouldn't have solved this attack. First of all, the standard mkDerivation function calls the same configure; make; make install process that made this attack possible. Nixpkgs regularly pulls in external resources (fetchUrl and friends) that are equally vulnerable to a poisoned release tarball. Checkout the comment on the current xz entry in nixpkgs https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/comp...
-
Debian Git Monorepo
NixOS uses a monorepo and I think everyone's love it.
I love being able to easily grep through all the packages source code and there's regularly PRs that harmonizes conventions across many packages.
Nixpkgs doesn't include the packaged software source code, so it's a lot more practical than what Debian is doing.
https://github.com/NixOS/nixpkgs
-
From xz to ibus: more questionable tarballs
In this specific case, nix uses fetchFromGitHub to download the source archive, which are generated by GitHub for the specified revision[1]. Arch seems to just download the tarball from the releases page[2].
[1]: https://github.com/NixOS/nixpkgs/blob/3c2fdd0a4e6396fc310a6e...
[2]: https://gitlab.archlinux.org/archlinux/packaging/packages/ib...
What are some alternatives?
jenv - Manage your Java environment
asdf - Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more
devenv - Fast, Declarative, Reproducible, and Composable Developer Environments
Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]
nix-starter-configs - Simple and documented config templates to help you get started with NixOS + home-manager + flakes. All the boilerplate you need!
git-lfs - Git extension for versioning large files
nix-alien - Run unpatched binaries on Nix/NixOS
easyeffects - Limiter, compressor, convolver, equalizer and auto volume and many other plugins for PipeWire applications
devenv - Pluggable development environments builder that has potential to support any language or framework environment
spack - A flexible package manager that supports multiple versions, configurations, platforms, and compilers.
nixpkgs-upkeep - Auto-updates and CI 🤖 for Nixpkgs
waydroid - Waydroid uses a container-based approach to boot a full Android system on a regular GNU/Linux system like Ubuntu.