A modern, delicious implementation of the Nix package manager, focused on correctness, usability, and growth — and committed to doing right by its community https://lix.systems
Find a file
Eelco Dolstra 2b8c63f303 Add 'nix dev-shell' and 'nix print-dev-env' command
'nix dev-shell' is intended to replace nix-shell. It supports flakes,
e.g.

  $ nix dev-shell nixpkgs:hello

starts a bash shell providing an environment for building 'hello'.

Like Lorri (and unlike nix-shell), it computes the build environment
by building a modified top-level derivation that writes the
environment after running $stdenv/setup to $out and exits. This
provides some caching, so it's faster than nix-shell in some cases
(especially for packages with lots of dependencies, where the setup
script takes a long time).

There also is a command 'nix print-dev-env' that prints out shell code
for setting up the build environment in an existing shell, e.g.

  $ . <(nix print-dev-env nixpkgs:hello)

https://github.com/tweag/nix/issues/21
2019-05-02 20:22:14 +02:00
.github Rename 1.12 -> 2.0 2018-01-31 18:58:45 +01:00
config update config/config.{sub,guess} 2018-08-13 20:00:17 +00:00
corepkgs nix: Enable pure mode by default 2019-02-12 20:35:03 +01:00
doc/manual manual: mention the "channel:" shorthand for NIX_PATH 2019-03-25 20:55:28 -04:00
maintainers upload-release.pl: Handle prerelease versions 2018-08-30 15:21:58 +02:00
misc nix-daemon: add variable to disable fork safety 2019-02-09 20:35:30 +01:00
mk Support --disable-shared flag. 2019-02-13 00:03:10 -05:00
perl perl/configure.ac: fix for new version location too 2019-03-25 09:18:30 +01:00
scripts Merge pull request #2693 from thoughtpolice/scripts/multi-user-sandbox 2019-03-24 19:45:56 +07:00
src Add 'nix dev-shell' and 'nix print-dev-env' command 2019-05-02 20:22:14 +02:00
tests exportGit: Don't clone local repositories 2019-04-19 14:10:57 +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 configure.ac: update for new version file location 2019-03-25 09:18:30 +01:00
COPYING * Change this to LGPL to keep the government happy. 2006-04-25 16:41:06 +00:00
flake-registry.json flake-registry: Use nixpkgs 19.03 2019-04-19 14:55:12 +02:00
flake.lock Update flake.lock 2019-04-19 15:52:40 +02:00
flake.nix Pass a flake to itself as "self" 2019-04-16 16:29:44 +02:00
local.mk Add flake registry 2019-02-11 13:01:39 +01:00
Makefile Merge all nix-* binaries into nix 2018-10-26 12:54:00 +02:00
Makefile.config.in Support --disable-shared flag. 2019-02-13 00:03:10 -05:00
nix.spec.in Attempt to fix the RPM build 2018-07-31 14:03:19 +02:00
README.md Fix minor grammatical nitpick ("it's" vs. "its") in README.md. 2017-03-22 10:11:23 -04:00
release-common.nix Remove editline expression, not needed anymore 2018-11-13 20:55:08 +01:00
release.nix fetchGit -> fetchTarball 2019-04-19 14:41:59 +02:00
shell.nix fetchGit -> fetchTarball 2019-04-19 14:41:59 +02:00

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.