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
Tom Bereknyei 4494f9097f feat: notation to refer to no attribute search prefix
An attrPath prefix of "." indicates no need to try default attrPath prefixes. For example `nixpkgs#legacyPackages.x86_64-linux.ERROR` searches through

```
trying flake output attribute 'packages.x86_64-linux.legacyPackages.x86_64-linux.ERROR'
using cached attrset attribute ''
trying flake output attribute 'legacyPackages.x86_64-linux.legacyPackages.x86_64-linux.ERROR'
using cached attrset attribute 'legacyPackages.x86_64-linux'
trying flake output attribute 'legacyPackages.x86_64-linux.ERROR'
using cached attrset attribute 'legacyPackages.x86_64-linux'
```

And there is no way to specify that one does not want the automatic
search behavior. Now one can specify
`nixpkgs#.legacyPackages.x86_64-linux.ERROR` to only refer to the rooted
attribute path without any default injection of attribute search path or
system.

Change-Id: Iac1334e1470137b7ce11dcf845513810230638ec
(cherry picked from commit d4aed18883b361133607296fb6cd789c47427a38)
2024-03-25 15:30:36 +00:00
.github un-thumbs-up ur github templates 2024-03-13 23:10:25 -07:00
clang-tidy clang-tidy check infrastructure 2024-03-18 16:10:29 -07:00
config
contrib
doc Improve new CLI UX by supporting short -E flag for --expr 2024-03-24 21:17:51 -06:00
m4
maintainers issue importer: list issues that are *not* closed when finding existing issues 2024-03-18 18:14:31 -07:00
meson build: optionally build and install with meson 2024-03-22 08:36:50 -06:00
misc un-ups your start 2024-03-18 18:28:08 -07:00
mk Merge "Backport PR#10204 by 9999years: Replace foo with __NIX_STR in cxx-big-literal" into main 2024-03-14 00:07:21 -06:00
perl
scripts Restore system-install profile files from the previous installer 2024-03-25 04:17:14 +00:00
src feat: notation to refer to no attribute search prefix 2024-03-25 15:30:36 +00:00
tests feat: notation to refer to no attribute search prefix 2024-03-25 15:30:36 +00:00
.clang-format Add clang format configuration 2024-03-18 13:31:39 -07:00
.dir-locals.el
.editorconfig
.gitignore Merge pull request #10085 from ShamrockLee/ignore-obsolete-testdir 2024-03-05 23:36:31 -07:00
.version Update version to 2.90.0 2024-03-07 19:57:39 -07:00
boehmgc-coroutine-sp-fallback.diff
boehmgc-traceable_allocator-public.diff Merge pull request #9430 from hercules-ci/remove-vlas 2024-03-04 07:11:25 +01:00
configure.ac Merge pull request #9844 from NixOS/pkg-config-gmock 2024-03-04 08:47:39 +01:00
CONTRIBUTING.md
COPYING
default.nix
docker.nix
flake.lock flake.nix: upgrade to nixos-23.11 2024-03-08 23:59:01 +00:00
flake.nix build: optionally build and install with meson 2024-03-22 08:36:50 -06:00
local.mk
Makefile un-ups your start 2024-03-18 18:28:08 -07:00
Makefile.config.in
meson.build build: optionally build and install with meson 2024-03-22 08:36:50 -06:00
meson.options build: optionally build and install with meson 2024-03-22 08:36:50 -06:00
package.nix build: optionally build and install with meson 2024-03-22 08:36:50 -06:00
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 to set up a development environment and build Nix from source.

Additional Resources

License

Nix is released under the LGPL v2.1.