!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

955 Members
For people hacking on the Nix package manager itself201 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
8 May 2025
@weethet:catgirl.cloudWeetHet

Now that infra supports lockable tarballs for channel releases, what do you think about adding a channel:name flakeref pointing to channels.nixos.org/name/nixexprs.tar.xz?

Is it too much coupling?

20:09:03
@leona:leona.is@leona:leona.isI (not part of the nix team nor associated with nix development) wouldn't like the name "channel:" for this, as the concept of a channel is far greater than Nixpkgs and therefore anything channel.nixos.org offers20:39:51
9 May 2025
@dramforever:matrix.orgdramforever even though it's debatable whether it would be good to add it to flakes, there is precedence for e.g. channel: urls already being that 01:42:03
@interacsion:matrix.org@interacsion:matrix.org left the room.08:29:24
@mann2003:matrix.orgmaan2 joined the room.20:01:41
11 May 2025
@weethet:catgirl.cloudWeetHet

Yep, for example:

nix-instantiate channel:nixpkgs-unstable hello --log-format multiline        
[4.4/30.4 MiB DL]
downloading 'https://nixos.org/channels/nixpkgs-unstable/nixexprs.tar.xz'
13:59:32
@weethet:catgirl.cloudWeetHet *

Yep, for example:

$ nix-instantiate channel:nixpkgs-unstable hello --log-format multiline        
[4.4/30.4 MiB DL]
downloading 'https://nixos.org/channels/nixpkgs-unstable/nixexprs.tar.xz'
13:59:38
@weethet:catgirl.cloudWeetHet *

Yep, for example:

$ nix-instantiate channel:nixpkgs-unstable -A hello --log-format multiline        
[4.4/30.4 MiB DL]
downloading 'https://nixos.org/channels/nixpkgs-unstable/nixexprs.tar.xz'
13:59:59
@weethet:catgirl.cloudWeetHethttps://github.com/NixOS/nix/issues/13168 Let's see what people think14:07:35
12 May 2025
@fzakaria:one.ems.hostfzakaria

Whose familiar with SourceAccessor in CppNix ?
We were seeing divergent failures for missing files; I was seeing "FileNotFoundError" and Shahar "Dawn" Or (mightyiam) was seeing "SysError" (although not in unit tests).

We've rebased and it's gone away but it's bugging me not knowing the difference.

15:58:50
@fzakaria:one.ems.hostfzakariaMy best guess -- is his Nix build was picking a different SourceAccessor. Mine seemed to be picking PosixSourceAccessor.15:59:27
@michael.zeagler:matrix.org@michael.zeagler:matrix.org joined the room.20:25:48
13 May 2025
@Ericson2314:matrix.orgJohn Ericson Eelco: if (settings.buildHook.get().empty() || !worker.tryBuildHook || !useDerivation) return rpDecline; 19:31:48
@Ericson2314:matrix.orgJohn Ericson do you know what !useDerivation is needed? 19:31:56

Show newer messages


Back to Room ListRoom Version: 6