1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-16 23:42:43 +01:00
nix/src
Eelco Dolstra c8b22643ba 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'
2025-01-30 19:03:34 +01:00
..
build-remote build-remote: only allocate storeUri once 2024-07-25 14:04:03 +02:00
external-api-docs Format .nix files 2025-01-24 17:04:02 +01:00
internal-api-docs Format .nix files 2025-01-24 17:04:02 +01:00
libcmd Format .nix files 2025-01-24 17:04:02 +01:00
libexpr refactor: Extract EvalState::realiseString 2025-01-27 12:32:46 +01:00
libexpr-c refactor: Extract EvalState::realiseString 2025-01-27 12:32:46 +01:00
libexpr-test-support Format .nix files 2025-01-24 17:04:02 +01:00
libexpr-tests Format .nix files 2025-01-24 17:04:02 +01:00
libfetchers readHead(): Make sure we're returning the HEAD ref line 2025-01-30 19:03:34 +01:00
libfetchers-tests Format .nix files 2025-01-24 17:04:02 +01:00
libflake Format .nix files 2025-01-24 17:04:02 +01:00
libflake-c Format .nix files 2025-01-24 17:04:02 +01:00
libflake-tests Format .nix files 2025-01-24 17:04:02 +01:00
libmain Format .nix files 2025-01-24 17:04:02 +01:00
libmain-c Format .nix files 2025-01-24 17:04:02 +01:00
libstore Merge pull request #12251 from nix-windows/local-store/fix-infinite-loop 2025-01-27 14:38:57 +01:00
libstore-c Format .nix files 2025-01-24 17:04:02 +01:00
libstore-test-support Format .nix files 2025-01-24 17:04:02 +01:00
libstore-tests Format .nix files 2025-01-24 17:04:02 +01:00
libutil Format .nix files 2025-01-24 17:04:02 +01:00
libutil-c Format .nix files 2025-01-24 17:04:02 +01:00
libutil-test-support Format .nix files 2025-01-24 17:04:02 +01:00
libutil-tests Format .nix files 2025-01-24 17:04:02 +01:00
nix packages.nix-cli: Add meta.mainProgram 2025-01-27 14:27:14 +01:00
nix-build Fix issue 11892 2024-11-18 21:04:04 +01:00
nix-channel Format .nix files 2025-01-24 17:04:02 +01:00
nix-collect-garbage More std::filesystem for nix-collect-garbage 2024-08-26 17:29:23 -04:00
nix-copy-closure Restrict some code to StoreDirConfig 2023-11-04 19:05:36 -04:00
nix-env Format .nix files 2025-01-24 17:04:02 +01:00
nix-instantiate feat(nix-instantiate): add --raw flag 2024-12-31 16:36:49 +01:00
nix-store fix: Resolve CLI parent symlinks before adding to store 2025-01-07 05:42:03 +00:00
perl Format .nix files 2025-01-24 17:04:02 +01:00
nix-functional-tests Build Functional tests with Meson 2024-08-14 15:35:40 -04:00
nix-manual Build the manual with Meson 2024-10-09 11:58:17 -04:00