!coeAONBrWyDJnYMbMi:nixos.org

NixOS System Operations

546 Members
About system administration for running NixOS systems in production. Declaratively manage your operations. | Room recommendations: #networking:nixos.org146 Servers

Load older messages


SenderMessageTime
13 Nov 2024
@industrialrobot:matrix.orgIndustrialRobot joined the room.13:21:28
@quyse:matrix.orgquyse joined the room.16:35:24
@inayet:matrix.orgInayet joined the room.22:14:05
14 Nov 2024
@regalk:matrix.orgregalk2 joined the room.18:12:14
15 Nov 2024
@rane:junkyard.systems@rane:junkyard.systems left the room.06:22:07
16 Nov 2024
@heyoni:matrix.org@heyoni:matrix.org joined the room.03:00:32
17 Nov 2024
@daniel:becometheteapot.cfddaniel joined the room.00:37:28
@orzklv:matrix.org@orzklv:matrix.org joined the room.02:25:57
18 Nov 2024
@cdepillabout:matrix.orgcdepillabout joined the room.01:14:54
@flacks:matrix.orgflacks joined the room.16:27:20
@domagojding:matrix.org@domagojding:matrix.org joined the room.19:37:23
19 Nov 2024
@federicodschonborn:matrix.org@federicodschonborn:matrix.org changed their display name from Federico Damián Schonborn to LEGO® Worm™.01:06:17
@shaderoit99:matrix.org@shaderoit99:matrix.org joined the room.03:16:10
@hyeicmeiss:matrix.orghyeicmeiss joined the room.20:53:54
20 Nov 2024
@inayet:matrix.orgInayet removed their profile picture.00:59:50
@kamillaova:matrix.orgKamilla 'ova joined the room.12:52:44
@iko.soy:matrix.orgiko.soy joined the room.14:34:58
@iko.soy:matrix.orgiko.soy

Hi

I'm getting the following errors when I try t build anything on my machine (including rebuilding the system):

> sudo nixos-rebuild switch
warning: Git tree '/etc/nixos' is dirty
warning: error: unable to download 'https://github.com/hercules-ci/flake-parts/archive/8c9fa2545007b49a5db5f650ae91f227672c3877.tar.gz': Failed to open/read local data from file/application (26); retrying in 299 ms
warning: error: unable to download 'https://github.com/hercules-ci/flake-parts/archive/8c9fa2545007b49a5db5f650ae91f227672c3877.tar.gz': HTTP error 302 (curl error: Failed to open/read local data from file/application); retrying in 505 ms
warning: error: unable to download 'https://github.com/hercules-ci/flake-parts/archive/8c9fa2545007b49a5db5f650ae91f227672c3877.tar.gz': HTTP error 302 (curl error: Failed to open/read local data from file/application); retrying in 1264 ms
warning: error: unable to download 'https://github.com/hercules-ci/flake-parts/archive/8c9fa2545007b49a5db5f650ae91f227672c3877.tar.gz': HTTP error 302 (curl error: Failed to open/read local data from file/application); retrying in 2258 ms
error:
       … while calling the 'seq' builtin
         at /nix/store/fldsl23a2fv89xbqvnc303hasmp08szh-source/lib/modules.nix:334:18:
          333|         options = checked options;
          334|         config = checked (removeAttrs config [ "_module" ]);
             |                  ^
          335|         _module = checked (config._module);

       … while evaluating a branch condition
         at /nix/store/fldsl23a2fv89xbqvnc303hasmp08szh-source/lib/modules.nix:273:9:
          272|       checkUnmatched =
          273|         if config._module.check && config._module.freeformType == null && merged.unmatchedDefns != [] then
             |         ^
          274|           let

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: Failed to open archive (Source threw exception: error: unable to download 'https://github.com/hercules-ci/flake-parts/archive/8c9fa2545007b49a5db5f650ae91f227672c3877.tar.gz': HTTP error 302 (curl error: Failed to open/read local data from file/application))
14:36:16
@iko.soy:matrix.orgiko.soyI'm getting github 302 redirects that don't seem to be handled correctly 14:36:32
@iko.soy:matrix.orgiko.soy

Manually querying the URL seems to indicate that github started (I don't know how recently) redirecting to codeload.github.com

❯ http -v https://github.com/hercules-ci/flake-parts/archive/8c9fa2545007b49a5db5f650ae91f227672c3877.tar.gz
GET /hercules-ci/flake-parts/archive/8c9fa2545007b49a5db5f650ae91f227672c3877.tar.gz HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Host: github.com
User-Agent: HTTPie/3.2.3



HTTP/1.1 302 Found
Cache-Control: max-age=0, private
Content-Length: 0
Content-Type: text/html; charset=utf-8
Date: Wed, 20 Nov 2024 09:37:49 GMT
Location: https://codeload.github.com/hercules-ci/flake-parts/tar.gz/8c9fa2545007b49a5db5f650ae91f227672c3877
Referrer-Policy: no-referrer-when-downgrade
Server: GitHub.com
Strict-Transport-Security: max-age=31536000; includeSubdomains; preload
Vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, Accept-Encoding, Accept, X-Requested-With
X-Content-Type-Options: nosniff
X-Frame-Options: deny
X-GitHub-Request-Id: 8B82:C8D24:684C97:69CD00:673DAE66
X-XSS-Protection: 0
14:36:42
@waddenn:matrix.orgwaddenn joined the room.14:47:48
@netpleb:matrix.org@netpleb:matrix.org left the room.23:35:08
21 Nov 2024
@nerves:bark.lgbt@nerves:bark.lgbt changed their profile picture.02:51:44
@scrumplex:duckhub.ioScrumplex
In reply to @iko.soy:matrix.org

Hi

I'm getting the following errors when I try t build anything on my machine (including rebuilding the system):

> sudo nixos-rebuild switch
warning: Git tree '/etc/nixos' is dirty
warning: error: unable to download 'https://github.com/hercules-ci/flake-parts/archive/8c9fa2545007b49a5db5f650ae91f227672c3877.tar.gz': Failed to open/read local data from file/application (26); retrying in 299 ms
warning: error: unable to download 'https://github.com/hercules-ci/flake-parts/archive/8c9fa2545007b49a5db5f650ae91f227672c3877.tar.gz': HTTP error 302 (curl error: Failed to open/read local data from file/application); retrying in 505 ms
warning: error: unable to download 'https://github.com/hercules-ci/flake-parts/archive/8c9fa2545007b49a5db5f650ae91f227672c3877.tar.gz': HTTP error 302 (curl error: Failed to open/read local data from file/application); retrying in 1264 ms
warning: error: unable to download 'https://github.com/hercules-ci/flake-parts/archive/8c9fa2545007b49a5db5f650ae91f227672c3877.tar.gz': HTTP error 302 (curl error: Failed to open/read local data from file/application); retrying in 2258 ms
error:
       … while calling the 'seq' builtin
         at /nix/store/fldsl23a2fv89xbqvnc303hasmp08szh-source/lib/modules.nix:334:18:
          333|         options = checked options;
          334|         config = checked (removeAttrs config [ "_module" ]);
             |                  ^
          335|         _module = checked (config._module);

       … while evaluating a branch condition
         at /nix/store/fldsl23a2fv89xbqvnc303hasmp08szh-source/lib/modules.nix:273:9:
          272|       checkUnmatched =
          273|         if config._module.check && config._module.freeformType == null && merged.unmatchedDefns != [] then
             |         ^
          274|           let

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: Failed to open archive (Source threw exception: error: unable to download 'https://github.com/hercules-ci/flake-parts/archive/8c9fa2545007b49a5db5f650ae91f227672c3877.tar.gz': HTTP error 302 (curl error: Failed to open/read local data from file/application))
This sounds a lot like https://github.com/NixOS/nixpkgs/issues/356114#issuecomment-2488646405
16:13:03
22 Nov 2024
@jfquesada:matrix.orgice9 joined the room.00:38:25
@tanvir:hackliberty.org@tanvir:hackliberty.org joined the room.20:14:29
23 Nov 2024
@startswithbalint:matrix.orgstartswithbalint joined the room.20:48:47
24 Nov 2024
@lzebulon:matrix.orgLzebulon joined the room.00:40:07
@arclightmat:matrix.org@arclightmat:matrix.org joined the room.19:09:52
25 Nov 2024
@nullcube:matrix.org@nullcube:matrix.org joined the room.09:51:25

Show newer messages


Back to Room ListRoom Version: 10