Find a file
Eelco Dolstra d1165d8791
Require shallow clones to be requested explicitly
If you do a fetchTree on a Git repository, whether the result contains
a revCount attribute should not depend on whether that repository
happens to be a shallow clone or not. That would complicate caching a
lot and would be semantically messy. So applying fetchTree/fetchGit to
a shallow repository is now an error unless you pass the attribute
'shallow = true'. If 'shallow = true', we don't return revCount, even
if the repository is not actually shallow.

Note that Nix itself is not doing shallow clones at the moment. But it
could do so as an optimisation if the user specifies 'shallow = true'.

Issue #2988.
2020-03-17 22:35:29 +01:00
.github Do a deep fetch 2020-03-13 17:25:47 +01:00
config update config/config.{sub,guess} 2018-08-13 20:00:17 +00:00
contrib function-trace: always show the trace 2019-09-18 23:23:21 +02:00
corepkgs Move call-flake.nix into libexpr 2020-03-11 17:04:51 +01:00
doc/manual Remove callout graphics 2020-03-13 16:32:43 +01:00
m4 autoconf: Fix C++17 detection not working on Ubuntu 16.04. 2019-07-03 04:32:25 +02:00
maintainers upload-release.pl: Fix sshfs call 2019-09-04 21:44:40 +02:00
misc Make nix-daemon.plist less fragile on macOS 2019-10-09 12:52:01 +01:00
mk mk/README.md: Remove 2020-03-13 14:50:51 +01:00
nix-rust Remove macro_use 2020-02-10 09:03:24 +01:00
perl nix-perl: Fix segfault in queryPathInfo) 2020-03-10 11:00:17 +01:00
scripts README, error msg: http -> https 2020-03-11 19:41:22 +01:00
src Require shallow clones to be requested explicitly 2020-03-17 22:35:29 +01:00
tests Require shallow clones to be requested explicitly 2020-03-17 22:35:29 +01:00
.dir-locals.el .dir-locals.el: Set additional lambda indentation to zero 2020-02-20 07:56:35 +01:00
.editorconfig Add .editorconfig 2017-06-05 22:57:28 +01:00
.gitignore Merge remote-tracking branch 'origin/master' into flakes 2019-12-04 00:31:09 +01:00
.travis.yml travis: enable linux builds 2019-10-31 16:37:33 +00:00
.version Bump version 2019-09-04 15:59:33 +02: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-12-20 12:45:58 +01:00
COPYING * Change this to LGPL to keep the government happy. 2006-04-25 16:41:06 +00:00
default.nix Add backward compatibility default.nix / shell.nix 2020-02-25 14:51:08 +01:00
flake.lock ggRevert "Use Nixpkgs 20.03" 2020-02-18 22:11:52 +01:00
flake.nix Merge remote-tracking branch 'origin/master' into flakes 2020-03-13 18:36:47 +01:00
local.mk Install headers in the correct location 2020-02-03 18:04:09 +01:00
Makefile Add some Rust code 2019-11-26 22:07:28 +01:00
Makefile.config.in Merge remote-tracking branch 'origin/master' into flakes 2019-12-20 12:45:58 +01:00
precompiled-headers.h Fix macOS build 2019-11-07 11:53:28 +01:00
README.md README, error msg: http -> https 2020-03-11 19:41:22 +01:00
shell.nix Remove the tarball job 2020-03-13 18:05:22 +01: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 https://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.