A modern, delicious implementation of the Nix package manager, focused on correctness, usability, and growth — and committed to doing right by its community
Find a file
dramforever b26562c629 InstallableFlake: Handle missing attr in getCursors
Handle the case where none of getActualAttrPaths() actually exists,
in which case instead of returning an empty vector.

This fixes the case where the user misspells the attribute name in nix
search. Instead of getting no search results, now it shows an error with
suggestions.

Also remove InstallableFlake::getCursor() override since it's now
equivalent to the base class version.
2023-01-30 23:59:09 +08:00
.github Update .github/PULL_REQUEST_TEMPLATE.md 2023-01-20 14:06:46 +01:00
config
contrib
doc/manual Merge pull request #7641 from layus/coerce-strings-fixups 2023-01-23 09:39:00 +01:00
m4
maintainers state priorities in triaging and discussion process 2023-01-12 19:33:41 +01:00
misc Merge pull request #6645 from Artturin/limitinfinity 2022-12-09 13:36:13 +01:00
mk Make ./mk/run-test.sh work by itself; add mk/debug-test.sh 2022-12-21 02:28:33 -05:00
perl
scripts Add escape for systemd service in installer script 2023-01-14 03:46:11 +08:00
src InstallableFlake: Handle missing attr in getCursors 2023-01-30 23:59:09 +08:00
tests Fix indentation 2023-01-18 16:33:39 +01:00
.dir-locals.el
.editorconfig
.gitignore Add fish suport to installer 2022-09-13 12:56:16 -04:00
.version Bump version 2023-01-17 22:08:36 +01:00
bootstrap.sh
configure.ac configure.ac: don't clobber CFLAGS=/CXXFLAGS= and allow users to pass in custom flags 2022-12-17 20:42:03 +00:00
COPYING
default.nix
docker.nix Add nobody user/group to Nix docker image 2022-11-29 10:01:46 +00:00
flake.lock flake.lock: Update 2022-12-08 17:09:50 +01:00
flake.nix flake.nix: Add nixpkgs/lib/tests as regression test 2023-01-18 01:55:21 +01:00
local.mk
Makefile
Makefile.config.in
precompiled-headers.h
README.md
shell.nix

Nix

Open Collective supporters Test

Nix is a powerful package manager for Linux and other Unix systems that makes package management reliable and reproducible. Please refer to the Nix manual for more details.

Installation

On Linux and macOS the easiest way to install Nix is to run the following shell command (as a user other than root):

$ curl -L https://nixos.org/nix/install | sh

Information on additional installation methods is available on the Nix download page.

Building And Developing

See our Hacking guide in our manual for instruction on how to build nix from source with nix-build or how to get a development environment.

Additional Resources

License

Nix is released under the LGPL v2.1.