!UUqahLbShAYkkrXmKs:matrix.org

DevOS

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

Load older messages


SenderMessageTime
22 Aug 2021
@timdeh:matrix.org@timdeh:matrix.orgoh yeah that is a thing00:04:55
@6aa4fd:tchncs.de6aa4fdyou guys have a good way of dealing with it?00:05:09
@timdeh:matrix.org@timdeh:matrix.orgThis overlay essentially get's imported from an alternate nixpkgs: https://github.com/divnix/devos/blob/main/overlays/overrides.nix00:05:47
@timdeh:matrix.org@timdeh:matrix.orgI was wondering if we should expand this at some point to allow for more than a single override source00:06:06
@6aa4fd:tchncs.de6aa4fd
pkgs-unstable = import inputs.nixpkgs-unstable {
    system = config.nixpkgs.system;
    config = { allowUnfree = true; };
  };
00:08:15
@6aa4fd:tchncs.de6aa4fdthis is what i use, i use a let statement, then i can just add stuff from here directly00:08:28
@6aa4fd:tchncs.de6aa4fdwhich i like because then i don't have to figure out how my package set is "polluted" when i am just quickly upgrading my version of a program00:09:12
@timdeh:matrix.org@timdeh:matrix.orgThat's kinda what's going on under the hood, the overlay is just the input for the import essentially00:18:42
@blaggacao:matrix.orgDavid Arnold (blaggacao)
In reply to @timdeh:matrix.org
I was wondering if we should expand this at some point to allow for more than a single override source
That's already possible. You can override from any "channel" 😁
01:13:08
@timdeh:matrix.org@timdeh:matrix.orgperfect, yeah my perspective on the project is quite stale by now unfortunately 😅03:10:53
@timdeh:matrix.org@timdeh:matrix.orgmaybe I should run through the current features and update the docs 😄03:12:05
@yusdacra:nixos.devyusdacra changed their profile picture.15:49:09
23 Aug 2021
@yusdacra:nixos.devyusdacra

I was running someone through devos starting docs, this command in start's index.md seems to not work, and errors with "not a git repository":

nix-shell https://github.com/divnix/devos/archive/core.tar.gz -A shell \
  --run "flk get core"

this also doesnt work, says flk is not found:

nix-shell https://github.com/divnix/devos/archive/main.tar.gz -A shell \
  --run "flk get main"
00:02:04
@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

Show newer messages


Back to Room ListRoom Version: 6