!9IQChSjwSHXPPWTa:lix.systems

Lix

807 Members
Lix user channel. Feel free to discuss on-topic issues here and give each other help. For matrix.to links to the rest of the Lix channels, see: https://wiki.lix.systems/books/lix-organisation/page/matrix-rooms235 Servers

Load older messages


SenderMessageTime
22 Feb 2025
@whovian9369:matrix.orgWhovian9369 Well I'm not getting an update for lix-module via nix flake update 01:21:34
@whovian9369:matrix.orgWhovian9369Lemme swap out the URL quickly01:21:43
@whovian9369:matrix.orgWhovian9369
$  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:matrix.orgKFears (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:matrix.orgWhovian9369 Just ran $ nix store gc -v so if the error is going to appear, it's probably here :P 01:30:42
@whovian9369:matrix.orgWhovian9369
$  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:matrix.orgKFears (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:matrix.orgWhovian9369Didn't want to try testing that without being asked to, just in case.01:36:51
@whovian9369:matrix.orgWhovian9369

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:matrix.orgKFears (no longer human)Oh, so this doesn't warn? Wow, that's interesting01:38:37
@whovian9369:matrix.orgWhovian9369 Lemme try my original url again 01:38:47
@kfears:matrix.orgKFears (no longer human)Sure01:38:53
@whovian9369:matrix.orgWhovian9369
$  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:matrix.orgKFears (no longer human)🫠01:42:23
@kfears:matrix.orgKFears (no longer human)It's so awful when the bug suddenly decides to stop reproducing01:43:29
@whovian9369:matrix.orgWhovian9369 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:matrix.orgWhovian9369
$ 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:matrix.orgWhovian9369 So it looks like a full n-c-g works, KFears (no longer human) 01:46:34
@kfears:matrix.orgKFears (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:matrix.orgWhovian9369 Ah sorry, original url - url = "git+https://git.lix.systems/lix-project/nixos-module"; 01:50:20
@whovian9369:matrix.orgWhovian9369 Lemme try the .git and tarball ones 01:50:28
@whovian9369:matrix.orgWhovian9369

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:matrix.orgWhovian9369

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:matrix.orgWhovian9369

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:matrix.orgKFears (no longer human)Ah, so it's only the original URL that has issues?01:56:16
@whovian9369:matrix.orgWhovian9369Seemingly so, if I'm reading/reproducing correctly at least.01:56:38
@kfears:matrix.orgKFears (no longer human)I suspect there might be some bizarre behavior going on with Forgejo API01:56:46
@whovian9369:matrix.orgWhovian9369 Oh, lemme tack on --verbose just in case too 01:57:10
@kfears:matrix.orgKFears (no longer human)Alrighty01:57:22
@whovian9369:matrix.orgWhovian9369

... 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

Show newer messages


Back to Room ListRoom Version: 10