22 Feb 2025 |
Whovian9369 | Well I'm not getting an update for lix-module via nix flake update | 01:21:34 |
Whovian9369 | Lemme swap out the URL quickly | 01:21:43 |
Whovian9369 | $ nix flake update lix-module
warning: Git tree '/home/whovian/Downloads/nixOS/configurations/a_digital_nix_ocean.git' is dirty
warning: updating lock file '/home/whovian/Downloads/nixOS/configurations/a_digital_nix_ocean.git/flake.lock':
• Updated input 'lix-module':
'git+https://git.lix.systems/lix-project/nixos-module?ref=refs/heads/main&rev=621aae0f3cceaffa6d73a4fb0f89c08d338d729e' (2025-01-29)
→ 'https://git.lix.systems/api/v1/repos/lix-project/nixos-module/archive/621aae0f3cceaffa6d73a4fb0f89c08d338d729e.tar.gz?narHash=sha256-NG3IRvRs3u3btVCN861FqHvgOwqcNT/Oy6PBG86F5/E%3D&rev=621aae0f3cceaffa6d73a4fb0f89c08d338d729e' (2025-01-29)
warning: Git tree '/home/whovian/Downloads/nixOS/configurations/a_digital_nix_ocean.git' is dirty
Here's my nix flake update output, so maybe it's not an issue again?
| 01:22:56 |
KFears (no longer human) | This is so interesting. For curiosity's sake, does url = "https://git.lix.systems/lix-project/nixos-module.git" throw a warning or not? | 01:25:54 |
Whovian9369 | Just ran $ nix store gc -v so if the error is going to appear, it's probably here :P | 01:30:42 |
Whovian9369 | $ nix flake update lix-module
warning: Git tree '/home/whovian/Downloads/nixOS/configurations/a_digital_nix_ocean.git' is dirty
error:
… while updating the lock file of flake 'git+file:///home/whovian/Downloads/nixOS/configurations/a_digital_nix_ocean.git'
… while updating the flake input 'lix-module'
… while fetching the input 'https://git.lix.systems/lix-project/nixos-module.git'
error: failed to open archive: Unrecognized archive format
No luck
| 01:31:11 |
KFears (no longer human) | In reply to @whovian9369:matrix.org
$ nix flake update lix-module
warning: Git tree '/home/whovian/Downloads/nixOS/configurations/a_digital_nix_ocean.git' is dirty
error:
… while updating the lock file of flake 'git+file:///home/whovian/Downloads/nixOS/configurations/a_digital_nix_ocean.git'
… while updating the flake input 'lix-module'
… while fetching the input 'https://git.lix.systems/lix-project/nixos-module.git'
error: failed to open archive: Unrecognized archive format
No luck
Oh, probably needs git+ prefix to the URL | 01:36:02 |
Whovian9369 | Didn't want to try testing that without being asked to, just in case. | 01:36:51 |
Whovian9369 | I threw --verbose on just to be safe.
$ nix flake update lix-module --verbose
fetching git input 'git+file:///home/whovian/Downloads/nixOS/configurations/a_digital_nix_ocean.git'
warning: Git tree '/home/whovian/Downloads/nixOS/configurations/a_digital_nix_ocean.git' is dirty
fetching git input 'git+https://git.lix.systems/lix-project/nixos-module.git'
warning: updating lock file '/home/whovian/Downloads/nixOS/configurations/a_digital_nix_ocean.git/flake.lock':
• Updated input 'lix-module':
'https://git.lix.systems/api/v1/repos/lix-project/nixos-module/archive/621aae0f3cceaffa6d73a4fb0f89c08d338d729e.tar.gz?narHash=sha256-NG3IRvRs3u3btVCN861FqHvgOwqcNT/Oy6PBG86F5/E%3D&rev=621aae0f3cceaffa6d73a4fb0f89c08d338d729e' (2025-01-29)
→ 'git+https://git.lix.systems/lix-project/nixos-module.git?ref=refs/heads/main&rev=621aae0f3cceaffa6d73a4fb0f89c08d338d729e' (2025-01-29)
fetching git input 'git+file:///home/whovian/Downloads/nixOS/configurations/a_digital_nix_ocean.git'
warning: Git tree '/home/whovian/Downloads/nixOS/configurations/a_digital_nix_ocean.git' is dirty
| 01:37:16 |
KFears (no longer human) | Oh, so this doesn't warn? Wow, that's interesting | 01:38:37 |
Whovian9369 | Lemme try my original url again | 01:38:47 |
KFears (no longer human) | Sure | 01:38:53 |
Whovian9369 | $ nix flake update lix-module
warning: Git tree '/home/whovian/Downloads/nixOS/configurations/a_digital_nix_ocean.git' is dirty
warning: updating lock file '/home/whovian/Downloads/nixOS/configurations/a_digital_nix_ocean.git/flake.lock':
• Updated input 'lix-module':
'git+https://git.lix.systems/lix-project/nixos-module.git?ref=refs/heads/main&rev=621aae0f3cceaffa6d73a4fb0f89c08d338d729e' (2025-01-29)
→ 'git+https://git.lix.systems/lix-project/nixos-module?ref=refs/heads/main&rev=621aae0f3cceaffa6d73a4fb0f89c08d338d729e' (2025-01-29)
warning: Git tree '/home/whovian/Downloads/nixOS/configurations/a_digital_nix_ocean.git' is dirty
No error, and I'll admit that I'm a touch annoyed now since I seemingly can't repro it again
| 01:39:37 |
KFears (no longer human) | 🫠 | 01:42:23 |
KFears (no longer human) | It's so awful when the bug suddenly decides to stop reproducing | 01:43:29 |
Whovian9369 | Last time I got it to appear via a nix gc -v - Lemme do $ sudo nix-collect-garbage -d and see if that changes anything? | 01:44:04 |
Whovian9369 | $ nix flake update
warning: Git tree '/home/whovian/Downloads/nixOS/configurations/a_digital_nix_ocean.git' is dirty
[1.2 MiB DL] warning: refname '621aae0f3cceaffa6d73a4fb0f89c08d338d729e' is ambiguous.
Git normally never creates a ref that ends with 40 hex characters
because it will be ignored when you just specify 40-hex. These refs
may be created by mistake. For example,
git switch -c $br $(git rev-parse ...)
where "$br" is somehow empty and a 40-hex ref is created. Please
examine these refs and maybe delete them. Turn this message off by
running "git config advice.objectNameWarning false"
warning: refname '621aae0f3cceaffa6d73a4fb0f89c08d338d729e' is ambiguous.
Git normally never creates a ref that ends with 40 hex characters
because it will be ignored when you just specify 40-hex. These refs
may be created by mistake. For example,
git switch -c $br $(git rev-parse ...)
where "$br" is somehow empty and a 40-hex ref is created. Please
examine these refs and maybe delete them. Turn this message off by
running "git config advice.objectNameWarning false"
warning: refname '621aae0f3cceaffa6d73a4fb0f89c08d338d729e' is ambiguous.
Git normally never creates a ref that ends with 40 hex characters
because it will be ignored when you just specify 40-hex. These refs
may be created by mistake. For example,
git switch -c $br $(git rev-parse ...)
where "$br" is somehow empty and a 40-hex ref is created. Please
examine these refs and maybe delete them. Turn this message off by
running "git config advice.objectNameWarning false"
warning: updating lock file '/home/whovian/Downloads/nixOS/configurations/a_digital_nix_ocean.git/flake.lock':
• Updated input 'home-manager':
'github:nix-community/home-manager/62d038f499b94d406df790dec04e201d222e5098' (2025-02-22)
→ 'github:nix-community/home-manager/765cb91e9d5ab06ed8c92c25fc0e51d6c11d43cb' (2025-02-22)
warning: Git tree '/home/whovian/Downloads/nixOS/configurations/a_digital_nix_ocean.git' is dirty
| 01:45:56 |
Whovian9369 | So it looks like a full n-c-g works, KFears (no longer human) | 01:46:34 |
KFears (no longer human) | In reply to @whovian9369:matrix.org
$ nix flake update
warning: Git tree '/home/whovian/Downloads/nixOS/configurations/a_digital_nix_ocean.git' is dirty
[1.2 MiB DL] warning: refname '621aae0f3cceaffa6d73a4fb0f89c08d338d729e' is ambiguous.
Git normally never creates a ref that ends with 40 hex characters
because it will be ignored when you just specify 40-hex. These refs
may be created by mistake. For example,
git switch -c $br $(git rev-parse ...)
where "$br" is somehow empty and a 40-hex ref is created. Please
examine these refs and maybe delete them. Turn this message off by
running "git config advice.objectNameWarning false"
warning: refname '621aae0f3cceaffa6d73a4fb0f89c08d338d729e' is ambiguous.
Git normally never creates a ref that ends with 40 hex characters
because it will be ignored when you just specify 40-hex. These refs
may be created by mistake. For example,
git switch -c $br $(git rev-parse ...)
where "$br" is somehow empty and a 40-hex ref is created. Please
examine these refs and maybe delete them. Turn this message off by
running "git config advice.objectNameWarning false"
warning: refname '621aae0f3cceaffa6d73a4fb0f89c08d338d729e' is ambiguous.
Git normally never creates a ref that ends with 40 hex characters
because it will be ignored when you just specify 40-hex. These refs
may be created by mistake. For example,
git switch -c $br $(git rev-parse ...)
where "$br" is somehow empty and a 40-hex ref is created. Please
examine these refs and maybe delete them. Turn this message off by
running "git config advice.objectNameWarning false"
warning: updating lock file '/home/whovian/Downloads/nixOS/configurations/a_digital_nix_ocean.git/flake.lock':
• Updated input 'home-manager':
'github:nix-community/home-manager/62d038f499b94d406df790dec04e201d222e5098' (2025-02-22)
→ 'github:nix-community/home-manager/765cb91e9d5ab06ed8c92c25fc0e51d6c11d43cb' (2025-02-22)
warning: Git tree '/home/whovian/Downloads/nixOS/configurations/a_digital_nix_ocean.git' is dirty
Hmm. Is that only for original url, or for .git and tarball urls too? | 01:48:30 |
Whovian9369 | Ah sorry, original url - url = "git+https://git.lix.systems/lix-project/nixos-module"; | 01:50:20 |
Whovian9369 | Lemme try the .git and tarball ones | 01:50:28 |
Whovian9369 | url = "git+https://git.lix.systems/lix-project/nixos-module.git";
$ nix flake update lix-module
warning: Git tree '/home/whovian/Downloads/nixOS/configurations/a_digital_nix_ocean.git' is dirty
warning: updating lock file '/home/whovian/Downloads/nixOS/configurations/a_digital_nix_ocean.git/flake.lock':
• Updated input 'lix-module':
'git+https://git.lix.systems/lix-project/nixos-module?ref=refs/heads/main&rev=621aae0f3cceaffa6d73a4fb0f89c08d338d729e' (2025-01-29)
→ 'git+https://git.lix.systems/lix-project/nixos-module.git?ref=refs/heads/main&rev=621aae0f3cceaffa6d73a4fb0f89c08d338d729e' (2025-01-29)
warning: Git tree '/home/whovian/Downloads/nixOS/configurations/a_digital_nix_ocean.git' is dirty
| 01:52:11 |
Whovian9369 | url = "https://git.lix.systems/lix-project/nixos-module/archive/main.tar.gz";
$ nix flake update lix-module
warning: Git tree '/home/whovian/Downloads/nixOS/configurations/a_digital_nix_ocean.git' is dirty
warning: updating lock file '/home/whovian/Downloads/nixOS/configurations/a_digital_nix_ocean.git/flake.lock':
• Updated input 'lix-module':
'git+https://git.lix.systems/lix-project/nixos-module.git?ref=refs/heads/main&rev=621aae0f3cceaffa6d73a4fb0f89c08d338d729e' (2025-01-29)
→ 'https://git.lix.systems/api/v1/repos/lix-project/nixos-module/archive/621aae0f3cceaffa6d73a4fb0f89c08d338d729e.tar.gz?narHash=sha256-NG3IRvRs3u3btVCN861FqHvgOwqcNT/Oy6PBG86F5/E%3D&rev=621aae0f3cceaffa6d73a4fb0f89c08d338d729e' (2025-01-29)
warning: Git tree '/home/whovian/Downloads/nixOS/configurations/a_digital_nix_ocean.git' is dirty
| 01:53:03 |
Whovian9369 | Switching back to url = "git+https://git.lix.systems/lix-project/nixos-module";
$ nix flake update lix-module
warning: Git tree '/home/whovian/Downloads/nixOS/configurations/a_digital_nix_ocean.git' is dirty
warning: refname '621aae0f3cceaffa6d73a4fb0f89c08d338d729e' is ambiguous.
Git normally never creates a ref that ends with 40 hex characters
because it will be ignored when you just specify 40-hex. These refs
may be created by mistake. For example,
git switch -c $br $(git rev-parse ...)
where "$br" is somehow empty and a 40-hex ref is created. Please
examine these refs and maybe delete them. Turn this message off by
running "git config advice.objectNameWarning false"
warning: refname '621aae0f3cceaffa6d73a4fb0f89c08d338d729e' is ambiguous.
Git normally never creates a ref that ends with 40 hex characters
because it will be ignored when you just specify 40-hex. These refs
may be created by mistake. For example,
git switch -c $br $(git rev-parse ...)
where "$br" is somehow empty and a 40-hex ref is created. Please
examine these refs and maybe delete them. Turn this message off by
running "git config advice.objectNameWarning false"
warning: refname '621aae0f3cceaffa6d73a4fb0f89c08d338d729e' is ambiguous.
Git normally never creates a ref that ends with 40 hex characters
because it will be ignored when you just specify 40-hex. These refs
may be created by mistake. For example,
git switch -c $br $(git rev-parse ...)
where "$br" is somehow empty and a 40-hex ref is created. Please
examine these refs and maybe delete them. Turn this message off by
running "git config advice.objectNameWarning false"
warning: updating lock file '/home/whovian/Downloads/nixOS/configurations/a_digital_nix_ocean.git/flake.lock':
• Updated input 'lix-module':
'https://git.lix.systems/api/v1/repos/lix-project/nixos-module/archive/621aae0f3cceaffa6d73a4fb0f89c08d338d729e.tar.gz?narHash=sha256-NG3IRvRs3u3btVCN861FqHvgOwqcNT/Oy6PBG86F5/E%3D&rev=621aae0f3cceaffa6d73a4fb0f89c08d338d729e' (2025-01-29)
→ 'git+https://git.lix.systems/lix-project/nixos-module?ref=refs/heads/main&rev=621aae0f3cceaffa6d73a4fb0f89c08d338d729e' (2025-01-29)
warning: Git tree '/home/whovian/Downloads/nixOS/configurations/a_digital_nix_ocean.git' is dirty
| 01:53:54 |
KFears (no longer human) | Ah, so it's only the original URL that has issues? | 01:56:16 |
Whovian9369 | Seemingly so, if I'm reading/reproducing correctly at least. | 01:56:38 |
KFears (no longer human) | I suspect there might be some bizarre behavior going on with Forgejo API | 01:56:46 |
Whovian9369 | Oh, lemme tack on --verbose just in case too | 01:57:10 |
KFears (no longer human) | Alrighty | 01:57:22 |
Whovian9369 | ... Doesn't give a lot more info, just 2 more lines afaict.
$ nix flake update lix-module --verbose
fetching git input 'git+file:///home/whovian/Downloads/nixOS/configurations/a_digital_nix_ocean.git'
warning: Git tree '/home/whovian/Downloads/nixOS/configurations/a_digital_nix_ocean.git' is dirty
fetching git input 'git+https://git.lix.systems/lix-project/nixos-module'
warning: refname '621aae0f3cceaffa6d73a4fb0f89c08d338d729e' is ambiguous.
...
| 01:58:11 |