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
Adam Joseph b3550d9179 libexpr/fetchurl.nix: allow __impure fetch
This commit adds an optional `__impure` parameter to fetchurl.nix, which allows
the caller to use `libfetcher`'s fetcher in an impure derivation.  This allows
nixpkgs' patch-normalizing fetcher (fetchpatch) to be rewritten to use nix's
internal fetchurl, thereby eliminating the awkward "you can't use fetchpatch
here" banners scattered all over the place.

See also: https://github.com/NixOS/nixpkgs/pull/188587
2022-09-16 00:48:01 -07:00
.github Merge pull request #7014 from DeterminateSystems/graham/ds-327-fish-support-for-the-nix-installer 2022-09-14 14:46:26 +02:00
config
contrib
doc/manual Merge pull request #6934 from fricklerhandwerk/revert-architecture 2022-09-09 13:31:05 +02:00
m4
maintainers
misc Apply suggestions from code review 2022-09-02 10:50:02 -05:00
mk Fix incremental static builds 2022-06-22 17:53:58 +02:00
perl Remove std::string alias (for real this time) 2022-02-25 16:13:02 +01:00
scripts Add fish suport to installer 2022-09-13 12:56:16 -04:00
src libexpr/fetchurl.nix: allow __impure fetch 2022-09-16 00:48:01 -07:00
tests Revert "Merge pull request #6621 from Kha/nested-follows" 2022-09-01 15:26:19 +02:00
.dir-locals.el
.editorconfig
.gitignore Add fish suport to installer 2022-09-13 12:56:16 -04:00
.version Bump version 2022-08-25 11:50:14 +02:00
boehmgc-coroutine-sp-fallback.diff Update boehmgc-coroutine-sp-fallback.diff for darwin 2022-09-01 11:48:50 -05:00
bootstrap.sh
configure.ac Don't use -load_all on darwin 2022-08-03 10:27:25 +02:00
COPYING
default.nix
docker.nix docker.nix: Provide boolean for whether to bundle nixpkgs 2022-08-09 23:21:27 -04:00
flake.lock curl: patch for netrc regression in Nix 2022-07-14 17:45:02 -05:00
flake.nix Installer: Reset the timestamps in the tarball 2022-09-05 14:44:01 +02:00
local.mk
Makefile Merge branch 'master' into lto 2022-05-25 11:55:13 +00:00
Makefile.config.in Embed the sandbox shell into the statically linked 'nix' binary 2022-06-23 04:08:28 +02:00
precompiled-headers.h
README.md Fix link to hacking doc 2022-07-30 09:12:50 -07:00
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.