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
Matthew Bauer 3d90ab9345 Fix extra slash in canonPath output
When you have a symlink like:

  /tmp -> ./private/tmp

you need to resolve ./private/tmp relative to /tmp’s dir: ‘/’. Unlike
any other path output by dirOf, / ends with a slash. We don’t want
trailing slashes here since we will append another slash in the next
comoponent, so clear s like we would if it was a symlink to an absoute
path.

This should fix at least part of the issue in
https://github.com/NixOS/nix/issues/4822, will need confirmation that
it actually fixes the problem to close though.

Introduced in f3f228700a.
2021-05-18 16:38:55 -05:00
.github Bump cachix/cachix-action from v9 to v10 2021-04-12 05:21:11 +00:00
config
contrib
doc/manual doc/nix-shell: Remove outdated bashrc information 2021-05-11 14:33:35 +02:00
m4
maintainers Update nix-fallback-paths.nix only 2021-05-14 14:03:53 +02:00
misc launchd: Use exec to avoid leaving the extra shell wrapper running 2021-05-04 14:33:47 -07:00
mk Merge pull request #4582 from puckipedia/cppflags 2021-03-01 13:08:14 +01:00
nix-rust Remove 'dist' target 2020-12-03 16:17:58 +01:00
perl Make sodium a required dependency 2021-01-06 17:56:53 +01:00
scripts install: Fix hash variable for Darwin.arm64 (#4769) 2021-05-11 15:43:44 +02:00
src Fix extra slash in canonPath output 2021-05-18 16:38:55 -05:00
tests Add a test for nix run with CA derivations 2021-05-17 15:10:48 +02:00
.dir-locals.el
.editorconfig
.gitignore Add a test for nix run with CA derivations 2021-05-17 15:10:48 +02:00
.version
bootstrap.sh
configure.ac Drop unused tar dependency 2021-04-15 13:57:04 +02:00
COPYING
default.nix
flake.lock Use lowdown 0.8.4 2021-04-23 14:20:32 +02:00
flake.nix Use lowdown 0.8.4 2021-04-23 14:20:32 +02:00
local.mk Remove 'dist' target 2020-12-03 16:17:58 +01:00
Makefile Move command plugin interface to libnixcmd 2021-01-26 06:22:24 -05:00
Makefile.config.in Drop libbz2 / zlib / lzma dependency + style fixes 2021-04-15 13:55:22 +02:00
precompiled-headers.h
README.md README: fix link to hacking guide 2020-12-28 09:30:14 -08: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.