!UUqahLbShAYkkrXmKs:matrix.org

DevOS

35 Members
Seeking help and geeking out together on https://github.com/divnix/devos & https://github.com/divnix/digga10 Servers

Load older messages


SenderMessageTime
23 Aug 2021
@blaggacao:matrix.orgDavid Arnold (blaggacao) bud get might work... frommain branch 03:20:29
@gytis-ivaskevicius:matrix.org@gytis-ivaskevicius:matrix.orghttps://github.com/divnix/bud/blob/main/flake.nix#L403:22:10
@gytis-ivaskevicius:matrix.org@gytis-ivaskevicius:matrix.orgWhat's up with these?03:22:18
@gytis-ivaskevicius:matrix.org@gytis-ivaskevicius:matrix.orgNever seen it being documented anywhere03:22:29
@blaggacao:matrix.orgDavid Arnold (blaggacao) It's not, but it works in recent nix... It's dumb,but self-documenting. 03:23:16
@blaggacao:matrix.orgDavid Arnold (blaggacao)(without flakes enabled, one would have a hard time getting thus far)03:23:55
@gytis-ivaskevicius:matrix.org@gytis-ivaskevicius:matrix.orgWhat's not self documenting is substitutes scope - it is probably global?03:24:15
@tomberek:matrix.orgtomberekhttps://github.com/NixOS/nix/blob/master/src/libexpr/flake/config.cc#L3203:24:22
@tomberek:matrix.orgtombereki don't think it will have any effect03:24:56
@gytis-ivaskevicius:matrix.org@gytis-ivaskevicius:matrix.orgAlso maybe fup should set experimental features like that instead via module?03:25:12
@blaggacao:matrix.orgDavid Arnold (blaggacao)whitlist refers to "trusted" (no dialogue)03:26:08
@tomberek:matrix.orgtomberek or rather, it gets added to ~/.local/share/nix/trusted-settings.json 03:26:23
@blaggacao:matrix.orgDavid Arnold (blaggacao)https://github.com/NixOS/nix/blob/7a54b10a8a29dadea2bb2c639a15cfec25a4d38c/src/libexpr/flake/config.cc#L51-L5403:26:28
@tomberek:matrix.orgtomberekdocumentation about that whole feature seems sparse03:27:12
@gytis-ivaskevicius:matrix.org@gytis-ivaskevicius:matrix.orgIf i were to do a basic nix build - it would use that cachix, right?03:27:24
@gytis-ivaskevicius:matrix.org@gytis-ivaskevicius:matrix.orgAnd if i were to switch - would it append it to the nix.conf?03:27:59
@blaggacao:matrix.orgDavid Arnold (blaggacao)yes, the main use for me so far has been to make caches declarative and encapsulated..03:28:00
@blaggacao:matrix.orgDavid Arnold (blaggacao)
In reply to @gytis-ivaskevicius:matrix.org
And if i were to switch - would it append it to the nix.conf?
no, it's a runtime setting.
03:28:17
@gytis-ivaskevicius:matrix.org@gytis-ivaskevicius:matrix.orgI see03:28:26
@blaggacao:matrix.orgDavid Arnold (blaggacao)(only the trusted bit gets persisted)03:28:30
@tomberek:matrix.orgtomberekjust tested.... looks like it adds things to trusted settings.. build took about 15 seconds03:28:46
@gytis-ivaskevicius:matrix.org@gytis-ivaskevicius:matrix.orgVery nice. I wish i knew about this sooner03:28:51
@tomberek:matrix.orgtomberek what is bud? 03:31:59
@blaggacao:matrix.orgDavid Arnold (blaggacao) a module system to create your personal sysctl 03:32:42
@blaggacao:matrix.orgDavid Arnold (blaggacao) * a module system to create your personal "sysctl" 03:32:54
@tomberek:matrix.orgtombereki don't know what that means03:33:00
@blaggacao:matrix.orgDavid Arnold (blaggacao)https://github.com/divnix/bud/blob/main/scripts/burn.bash03:33:24
@gytis-ivaskevicius:matrix.org@gytis-ivaskevicius:matrix.orgDifferent cli for nix03:33:28
@blaggacao:matrix.orgDavid Arnold (blaggacao)(example)03:33:28
@blaggacao:matrix.orgDavid Arnold (blaggacao)... stuff that you have a hard time to remeber when you need to do stuff with devos03:34:11

Show newer messages


Back to Room ListRoom Version: 6