!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

903 Members
For people hacking on the Nix package manager itself189 Servers

Load older messages


SenderMessageTime
24 Jun 2021
@theophane:hufschmitt.netRegnat
In reply to @pamplemouss_:matrix.org

And also:

no reason anymore

I wonder if my use case is not one such reason...
I want to produce binaries, that use customized (instrumented) version of the different libraries.

Iโ€™d rather make a fully different build with different configure flags for that. That would make things more robust
18:25:45
25 Jun 2021
@tim140123:matrix.orgBramfatur joined the room.13:59:29
@ma27:nicht-so.sexyma27 niksnut: is there anything else tbd for https://github.com/NixOS/nix/pull/4770 ? %) 21:32:42
@gilganix:matrix.org-(๐•‚eloฯ„)- changed their display name from -(GNU/โ„ฯ„)- to -(NIX/โ„ฯ„)-.22:06:01
26 Jun 2021
@grahamc:nixos.orggrahamc invited @mjolnir:nixos.orgmjolnir.01:26:17
@mjolnir:nixos.orgmjolnir joined the room.01:26:17
@grahamc:nixos.orggrahamcchanged room power levels.01:26:27
27 Jun 2021
@tomberek:matrix.orgtomberek joined the room.05:02:55
30 Jun 2021
@balsoft:balsoft.rubalsoft joined the room.10:54:08
@balsoft:balsoft.rubalsoft

I want to imporve nix registry slightly:

  1. Add --registry flag to select the registry file to manipulate (instead of $XDG_CONFIG_HOME/nix/registry.json)
  2. Add an optional second argument to nix registry pin that would accept a flake URI to pin the flake to, instead of taking it from the global registry.

This will make nix registry actually useful for managing custom registries.

12:48:24
@balsoft:balsoft.rubalsoft Also, I want to add the ability to mark registry entries as "flake": false to make custom registries even more useful. 12:48:51
@balsoft:balsoft.rubalsoftI'm already working on both, but if you have any suggestions on how to improve this, please share them rightaway12:49:09
@cw:kernelpanic.cafecw (? days since last shower) changed their display name from cw (28 cycles) to cw (Vi/Vim).16:27:54
@balsoft:balsoft.rubalsoft Here we go for the first part: https://github.com/NixOS/nix/pull/4968 19:22:34
@balsoft:balsoft.rubalsoft
In reply to @balsoft:balsoft.ru
Also, I want to add the ability to mark registry entries as "flake": false to make custom registries even more useful.
Disregard this, I see why it's not really idiomatic.
19:31:46
@balsoft:balsoft.rubalsoftStill, a shame it's not possible to do this :/19:31:54
@balsoft:balsoft.rubalsoft Wait, why doesn't nixConfig.flake-registry work? 20:02:46
@balsoft:balsoft.rubalsoft Aha, ok, I think it's because the config is applied after the inputs are resolved 21:01:41
@balsoft:balsoft.rubalsoft Yep, I stuck an apply in there and it seemed to work 21:07:11
@balsoft:balsoft.rubalsoftDon't really like this though21:07:19
1 Jul 2021
@balsoft:balsoft.rubalsoft Is there any way to get at least https://github.com/NixOS/nix/pull/4969 merged? I have tested it on multi-user and single-user systems, not sure what else to do 13:33:58
@balsoft:balsoft.rubalsoft
In reply to @balsoft:balsoft.ru
Is there any way to get at least https://github.com/NixOS/nix/pull/4969 merged? I have tested it on multi-user and single-user systems, not sure what else to do
(it's a show-stopper for usable custom registries)
13:35:16
2 Jul 2021
@irenes:matrix.orgIrenes joined the room.09:21:49
@immae:matrix.orgimmae changed their display name from immae (he/him) to immae.17:46:05
@immae:matrix.orgimmae changed their profile picture.17:46:15
@immae:matrix.orgimmae changed their profile picture.17:47:54
@immae:immae.euimmae joined the room.18:41:10
@immae:matrix.orgimmae left the room.22:02:23
4 Jul 2021
@krey:matrix.orgKrey
{ ... }: {
	services.bind.zones = {
		"${networking.hostName}.${networking.domain}" = {
		file = "/var/dns/${networking.hostName}.${networking.domain}";
		master = true;
		masters = [ "192.168.0.1"	];
		};
	};
}

Howddya use the `networking.* things in this file?

10:46:36
@krey:matrix.orgKrey(part of file imported in configuration.nix)10:46:48

Show newer messages


Back to Room ListRoom Version: 6