!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

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

Load older messages


SenderMessageTime
25 Jun 2021
@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
@balsoft:balsoft.rubalsoftI don't think this is the right chat16:02:43
5 Jul 2021
@manveru:matrix.orgmanveru TIL that nix print-dev-env breaks if you have an env variable with an @ inside of it in your devShell 08:13:57
@manveru:matrix.orgmanveru { outputs = { nixpkgs, ... }: { devShell.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.mkShell { FOO = "@"; }; }; } 08:21:25

Show newer messages


Back to Room ListRoom Version: 6