!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
20 Jul 2021
@gytis-ivaskevicius:matrix.org@gytis-ivaskevicius:matrix.orgcan you review that PR?19:10:08
@gytis-ivaskevicius:matrix.org@gytis-ivaskevicius:matrix.orghttps://github.com/gytis-ivaskevicius/flake-utils-plus/pull/8419:10:21
@blaggacao:matrix.orgDavid Arnold (blaggacao)Yep, next on my todo list. I'm cought in an infinite recursion. 😂19:10:30
@gytis-ivaskevicius:matrix.org@gytis-ivaskevicius:matrix.org😆19:10:40
@blaggacao:matrix.orgDavid Arnold (blaggacao)IN general I really like the cleanup19:10:43
@gytis-ivaskevicius:matrix.org@gytis-ivaskevicius:matrix.orgyeah, me too!19:12:54
@teutat3s:pub.solar@teutat3s:pub.solar
In reply to @blaggacao:matrix.org
It was supposed to not conflict, but maybe we need to revise it's implementation?
Does someone already have an idea how to do this? I'd be happy to create a PR
19:12:58
@gytis-ivaskevicius:matrix.org@gytis-ivaskevicius:matrix.org fufexan: <3 19:13:00
@gytis-ivaskevicius:matrix.org@gytis-ivaskevicius:matrix.orgnow just wait when all the deprecated code gets removed ;)19:13:24
@blaggacao:matrix.orgDavid Arnold (blaggacao)
In reply to @teutat3s:pub.solar
Does someone already have an idea how to do this? I'd be happy to create a PR
I'd really appreaciate it! (I'm stuck on that inifinte recursion) -- I havn't thought about the design, though.
19:13:33
@teutat3s:pub.solar@teutat3s:pub.solar

this is what my nix.conf looks like in the current develop branch

# WARNING: this file is generated from the nix.* options in
# your NixOS configuration, typically
# /etc/nixos/configuration.nix.  Do not edit it!
build-users-group = nixbld
max-jobs = auto
cores = 0
sandbox = true
extra-sandbox-paths = 
substituters = https://nrdxp.cachix.org https://nix-community.cachix.org https://cache.nixos.org/ https://cache.nixos.org/
trusted-substituters = 
trusted-public-keys = nrdxp.cachix.org-1:Fc5PSqY2Jm1TrWfm88l6cvGWwz3s93c6IOifQWnhNW4= nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
auto-optimise-store = true
require-sigs = true
trusted-users = root @wheel
allowed-users = @wheel
builders =

system-features = nixos-test benchmark big-parallel kvm
sandbox-fallback = false

min-free = 536870912
keep-outputs = true
keep-derivations = true
fallback = true

experimental-features = flakes nix-command ca-references
substituters = https://nrdxp.cachix.org https://nix-community.cachix.org
trusted-public-keys = nrdxp.cachix.org-1:Fc5PSqY2Jm1TrWfm88l6cvGWwz3s93c6IOifQWnhNW4= nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=

extra-experimental-features = nix-command ca-references flakes

19:14:15
@blaggacao:matrix.orgDavid Arnold (blaggacao) I'm not sure if the nixpkgs implementation of config settings is still modern enough. 19:14:52
@blaggacao:matrix.orgDavid Arnold (blaggacao)(after RFC42 ?)19:14:59
@teutat3s:pub.solar@teutat3s:pub.solarso should digga maybe create extra-* here https://github.com/divnix/digga/blob/f25928ed0bf05ab20af5a8231d264ae01b42ab34/modules/nix-config.nix#L24-L2619:15:07
@blaggacao:matrix.orgDavid Arnold (blaggacao)https://github.com/NixOS/rfcs/blob/master/rfcs/0042-config-option.md19:15:19
@blaggacao:matrix.orgDavid Arnold (blaggacao)
In reply to @teutat3s:pub.solar
so should digga maybe create extra-* here https://github.com/divnix/digga/blob/f25928ed0bf05ab20af5a8231d264ae01b42ab34/modules/nix-config.nix#L24-L26
That could be a quick fix, although any extra-* flag is again overridden in the nix.config
19:15:58
@blaggacao:matrix.orgDavid Arnold (blaggacao) The problem is really the missing merge semantics with regard to nix.extraOptions 19:16:21
@blaggacao:matrix.orgDavid Arnold (blaggacao) * The root problem is really the missing merge semantics with regard to nix.extraOptions 19:16:31
@blaggacao:matrix.orgDavid Arnold (blaggacao)If a fix cold expose or clarify this upstream "shortcoming", tat would bereally useful. Maybe a prominent code comment or something.19:17:31
@blaggacao:matrix.orgDavid Arnold (blaggacao) * If a fix cold expose or clarify this upstream "shortcoming", that would be really useful. Maybe a prominent code comment or something.19:17:41
@blaggacao:matrix.orgDavid Arnold (blaggacao) I think devos is a prominent enough project to be able to push upstream improvement efficiently, so let's not be shy. 19:18:22
@blaggacao:matrix.orgDavid Arnold (blaggacao) * I think devos is a prominent enough project to be able to push upstream improvement efficiently, so let's not be shy and make use of that consolidated user abse. 19:18:47
@blaggacao:matrix.orgDavid Arnold (blaggacao) * I think devos (together with fup) is a prominent enough project to be able to push upstream improvement efficiently, so let's not be shy and make use of that consolidated userbase. 19:19:00
@gytis-ivaskevicius:matrix.org@gytis-ivaskevicius:matrix.orgRight, not sure if i showed you guys but this is neat: https://github.com/gytis-ivaskevicius/nixfiles/blob/master/overlays/shell-config/default.nix#L44-L4619:21:07
@blaggacao:matrix.orgDavid Arnold (blaggacao) Gytis Ivaskevicius: is the target the editable path? 19:21:54
@teutat3s:pub.solar@teutat3s:pub.solar
In reply to @blaggacao:matrix.org
If a fix cold expose or clarify this upstream "shortcoming", that would be really useful. Maybe a prominent code comment or something.

reading man nix.conf it sounds like extra-* is what we're looking for

A configuration setting usually overrides any previous value. However, you can prefix the name of the setting by extra-  to  append  to  the
       previous value. For instance,

       substituters = a b
       extra-substituters = c d

       defines the substituters setting to be a b c d. This is also available as a command line flag (e.g. --extra-substituters).


19:22:20
@blaggacao:matrix.orgDavid Arnold (blaggacao)
In reply to @teutat3s:pub.solar

reading man nix.conf it sounds like extra-* is what we're looking for

A configuration setting usually overrides any previous value. However, you can prefix the name of the setting by extra-  to  append  to  the
       previous value. For instance,

       substituters = a b
       extra-substituters = c d

       defines the substituters setting to be a b c d. This is also available as a command line flag (e.g. --extra-substituters).


We'd have to test this. I suspect if it's
19:22:56
@gytis-ivaskevicius:matrix.org@gytis-ivaskevicius:matrix.org
In reply to @blaggacao:matrix.org
Gytis Ivaskevicius: is the target the editable path?
No, it just opens store directory. The cool part is that it is overlays aware
19:23:13
@blaggacao:matrix.orgDavid Arnold (blaggacao)
In reply to @teutat3s:pub.solar

reading man nix.conf it sounds like extra-* is what we're looking for

A configuration setting usually overrides any previous value. However, you can prefix the name of the setting by extra-  to  append  to  the
       previous value. For instance,

       substituters = a b
       extra-substituters = c d

       defines the substituters setting to be a b c d. This is also available as a command line flag (e.g. --extra-substituters).


*

We'd have to test this. I suspect if it's

extra-substituters = c d
extra-substituters = a

only a would be left?

19:23:21
@blaggacao:matrix.orgDavid Arnold (blaggacao) Gytis Ivaskevicius: I've to win you over for divnix/bud where we could land the users within the editable directory (if it's a custom pkg). Or we could even boostrap an overlay to modfy upstream in the appropriate local place. 19:24:25

Show newer messages


Back to Room ListRoom Version: 6