!coeAONBrWyDJnYMbMi:nixos.org

NixOS System Operations

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

Load older messages


SenderMessageTime
19 Nov 2024
@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.orgnetpleb left the room.23:35:08
21 Nov 2024
@nerves:bark.lgbtJason Odoom 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.orgTanvir 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
@jfquesada:matrix.orgice9 changed their display name from Jose Quesada to ice9.18:38:07
@jfquesada:matrix.orgice9 left the room.19:06:06
@apurba007:matrix.orgApurba Sundar Nayak left the room.19:36:16
@jfquesada:matrix.orgice9 joined the room.23:17:57
26 Nov 2024
@iamkexo:matrix.org@iamkexo:matrix.org left the room.09:40:57
@tfritz:matrix.orgtfritz joined the room.20:32:00
27 Nov 2024
@o-santi:matrix.orgLeonardo Santiago I have about 150~ machines under nixosConfigurations in a single flake, and nix flake check takes around 30 minutes to run. Any tips on how to make it faster? 13:50:59
@adam:robins.wtf@adam:robins.wtfmaybe nix-fast-build?14:09:30
@hexa:lossy.networkhexawondering how many nixpkgs you are instantiating 🤔14:09:54
@adam:robins.wtf@adam:robins.wtfis check on a nixosConfig just an eval?14:10:38
@etehtsea:matrix.orgkis-kis joined the room.15:15:22
@etehtsea:matrix.orgkis-kis changed their display name from kshabanov to kis-kis.15:16:28
@birhaman:pub.solarBirhaman changed their profile picture.19:28:13

Show newer messages


Back to Room ListRoom Version: 10