Eelco Dolstra f708fd2cef readHead(): Make sure we're returning the HEAD ref line
If we previously fetched by revision, the output of "git ls-remote"
won't start with the expected line like

  ref: refs/heads/master HEAD

but will be something like

  5c4410e3b9891c05ab40d723de78c6f0be45ad30        refs/heads/5c4410e3b9891c05ab40d723de78c6f0be45ad30

This then causes Nix to treat that revision as a refname, which then
leads to warnings like

  warning: could not update cached head '5c4410e3b9891c05ab40d723de78c6f0be45ad30' for 'file:///tmp/repo'

(cherry picked from commit c8b22643ba)
2025-01-31 15:41:29 +01:00
2024-10-14 18:48:01 +02:00
2021-06-01 11:42:38 +02:00
2024-09-26 00:18:08 +02:00
2017-06-05 22:57:28 +01:00
2024-10-31 16:18:47 +01:00
2023-12-01 11:08:15 -05:00
2024-10-31 12:47:51 +01:00
2023-04-03 18:45:20 +02:00
2023-02-13 12:00:00 +04:00
2022-01-24 13:28:21 +01:00

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 to set up a development environment and build Nix from source.

Additional Resources

License

Nix is released under the LGPL v2.1.

Description
No description provided
Readme 123 MiB
Languages
C++ 76.9%
Shell 10.7%
Nix 7.7%
Meson 1.9%
C 1.1%
Other 1.7%