!BgJZHVOYkwVcEKLAyM:nixos.org

NixOS Deployments

1015 Members
NixOS Deployment tooling266 Servers

Load older messages


SenderMessageTime
15 May 2024
@threedee:matrix.org@threedee:matrix.org left the room.21:45:21
16 May 2024
@james:gec.im@james:gec.im left the room.03:24:01
@Dan:matrix.orgDandoes anyone here run comin with a private github repository? I have a token that works for interactive clone/fetch/pull/etc but it's either not found by comin or has insufficient permissions (I just gave the token read access to repository contents, and the file is owned by root)03:45:26
@nobody.cs:matrix.org@nobody.cs:matrix.org joined the room.05:45:48
@hacker1024:matrix.orghacker1024

I am building a system update tool for my company. It works by obtaining a path to a NixOS system closure through our API and then downloading it from our binary cache with nix-store --realise.

When using nix-store --realise, a message like the following is printed at the start (both regularly and in internal-json format): these 460 paths will be fetched (5337.45 MiB download, 12817.57 MiB unpacked)

Is there a way to get this information without starting the full realisation? As in, go until this information is known and then stop before downloading any paths? We'd like to display the "update size".

06:31:11
@k900:0upti.meK900--dry-run?06:31:27
@hacker1024:matrix.orghacker1024 Of course! Thanks. Follow-up - is there a way to get this in a more machine-readable form? Even with internal-json, it's still just a log message: @nix {"action":"msg","level":3,"msg":"these 460 paths will be fetched (5337.45 MiB download, 12817.57 MiB unpacked):"} 06:32:18
@k900:0upti.meK900I don't think so06:32:29
@hacker1024:matrix.orghacker1024Ah well, I'll parse the log message and fix it when it breaks I guess. Thanks :)06:33:19
@nobody.cs:matrix.org@nobody.cs:matrix.org left the room.06:44:11
@gladtherescake:matrix.gladtherescake.euLillian Violet (She/Fae) joined the room.12:07:23
@alex3829:matrix.org@alex3829:matrix.org left the room.17:45:35
@kasper24:matrix.orgKasper joined the room.19:57:06
17 May 2024
@zodman101:matrix.orgzodman changed their display name from Andres Vargas - zodman to zodman.02:19:06
@elvishjerricco:matrix.org@elvishjerricco:matrix.org left the room.20:19:06
@olaf_freund:matrix.orgOlaf Krasicki Freund joined the room.22:47:21
18 May 2024
@arcayr:rascals.net@arcayr:rascals.net left the room.08:13:39
@easel:matrix.orgeasel set a profile picture.12:27:46
@dirtyrig:matrix.sdf.orgCollins Conover joined the room.19:31:46
20 May 2024
@jaymes2:matrix.orgjaymes2 joined the room.00:01:49
@ckie:ckie.devmei ๐ŸŒ’& changed their display name from ckie (they/them) to mei ๐ŸŒ’&.00:07:32
@azahi:azahi.ccazahiNot sure if this is the correct room, but... Looks like NixOS GCE images in Nixpkgs are no longer updated. Does anyone have a public bucket for them? Or should I just bite the bullet and try nixos-anywhere instead?13:58:55
@alina:kescher.atalina๐Ÿณ๏ธโ€โšง๏ธ๐Ÿพ changed their display name from alina to alina (DECT: WUFF/WOOF).14:24:18
@northben:pixelchef.net@northben:pixelchef.net joined the room.20:32:48
@kamillaova:matrix.org@kamillaova:matrix.org joined the room.23:25:20
21 May 2024
@bumperboat:matrix.org@bumperboat:matrix.org changed their display name from bumperboat (UTC+8) to bumperboat (UTC+7).04:34:20
@tanja:catgirl.cloudTanja (she/her) joined the room.11:33:46
@xiaoyu2006:matrix.org@xiaoyu2006:matrix.org left the room.13:55:47
@achernyak:matrix.org@achernyak:matrix.org joined the room.18:31:33
22 May 2024
@laander:matrix.org@laander:matrix.org left the room.01:01:38

Show newer messages


Back to Room ListRoom Version: 6