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
Eelco Dolstra 30ccf4e52d Turn flake inputs into an attrset
Instead of a list, inputs are now an attrset like

  inputs = {
    nixpkgs.uri = github:NixOS/nixpkgs;
  };

If 'uri' is omitted, than the flake is a lookup in the flake registry, e.g.

  inputs = {
    nixpkgs = {};
  };

but in that case, you can also just omit the input altogether and
specify it as an argument to the 'outputs' function, as in

  outputs = { self, nixpkgs }: ...

This also gets rid of 'nonFlakeInputs', which are now just a special
kind of input that have a 'flake = false' attribute, e.g.

  inputs = {
    someRepo = {
      uri = github:example/repo;
      flake = false;
    };
  };
2019-08-30 16:27:51 +02:00
.github Remove .github/FUNDING.yml 2019-07-23 15:21:23 +02:00
config update config/config.{sub,guess} 2018-08-13 20:00:17 +00:00
contrib Track function start and ends for flame graphs 2019-08-14 16:09:35 -04:00
corepkgs Merge remote-tracking branch 'origin/master' into flakes 2019-06-25 14:27:57 +02:00
doc Merge remote-tracking branch 'origin/master' into flakes 2019-08-29 16:11:38 +02:00
m4 autoconf: Fix C++17 detection not working on Ubuntu 16.04. 2019-07-03 04:32:25 +02:00
maintainers Fix release script 2019-04-15 19:17:17 +02:00
misc nix-daemon.service: add install section. 2019-08-27 10:35:35 +02:00
mk mk: add support for passing LDFLAGS to libs and bins 2019-07-03 04:32:25 +02:00
perl autoconf: Allow overriding CFLAGS/CXXFLAGS from outside. 2019-07-03 04:32:25 +02:00
scripts Merge pull request #2745 from samueldr/install/detect-systemd-separately 2019-08-28 11:34:23 +02:00
src Turn flake inputs into an attrset 2019-08-30 16:27:51 +02:00
tests Turn flake inputs into an attrset 2019-08-30 16:27:51 +02:00
.dir-locals.el Add .dir-locals.el for Emacs 2016-01-28 11:12:04 +01:00
.editorconfig Add .editorconfig 2017-06-05 22:57:28 +01:00
.gitignore Move flake template into a separate file 2019-04-08 23:39:38 +02:00
.travis.yml Test the installer 2017-07-14 12:11:04 -04:00
.version version -> .version, avoid conflict with C++20 <version> 2019-03-25 09:18:30 +01:00
bootstrap.sh bootstrap: Simplify & make more robust. 2011-09-06 12:11:05 +00:00
configure.ac Merge remote-tracking branch 'origin/master' into flakes 2019-07-06 21:06:22 +02:00
COPYING * Change this to LGPL to keep the government happy. 2006-04-25 16:41:06 +00:00
flake.lock Update flake.{nix,lock} 2019-08-30 13:06:48 +02:00
flake.nix Update flake.{nix,lock} 2019-08-30 13:06:48 +02:00
local.mk Fetch the flake registry from the NixOS/flake-registry repo 2019-05-22 22:56:46 +02:00
Makefile autoconf: Allow overriding CFLAGS/CXXFLAGS from outside. 2019-07-03 04:32:25 +02:00
Makefile.config.in Merge remote-tracking branch 'origin/master' into flakes 2019-07-06 21:06:22 +02:00
nix.spec.in Attempt to fix the RPM build 2018-07-31 14:03:19 +02:00
README.md Add Open Collective 2019-07-18 10:57:26 +02:00
release-common.nix Merge remote-tracking branch 'origin/master' into flakes 2019-06-03 09:22:19 +02:00
release.nix Merge remote-tracking branch 'origin/master' into flakes 2019-08-29 16:11:38 +02:00
shell.nix shell.nix: Unset $PYTHONPATH 2019-06-21 15:17:31 +02:00

Open Collective supporters

Nix, the purely functional package manager

Nix is a new take on package management that is fairly unique. Because of its purity aspects, a lot of issues found in traditional package managers don't appear with Nix.

To find out more about the tool, usage and installation instructions, please read the manual, which is available on the Nix website at http://nixos.org/nix/manual.

Contributing

Take a look at the Hacking Section of the manual. It helps you to get started with building Nix from source.

License

Nix is released under the LGPL v2.1

This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit.