!UUqahLbShAYkkrXmKs:matrix.org

DevOS

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

Load older messages


SenderMessageTime
6 Nov 2021
@blaggacao:matrix.orgDavid Arnold (blaggacao) joined the room.04:49:21
8 Nov 2021
@blaggacao:matrix.orgDavid Arnold (blaggacao)

Re: oberlays handling.

Ringer today showed me:

`overlay = final: prev: nixpkgs.lib.composeManyExtensions overlays) final prev;

23:13:12
@blaggacao:matrix.orgDavid Arnold (blaggacao)* Re: oberlays handling. Ringer today showed me: `overlay = final: prev: nixpkgs.lib.composeManyExtensions overlays) final prev;`23:13:25
@blaggacao:matrix.orgDavid Arnold (blaggacao)* **Re: oberlays handling.** Ringer today showed me: `overlay = final: prev: nixpkgs.lib.composeManyExtensions overlays) final prev;`23:13:40
@blaggacao:matrix.orgDavid Arnold (blaggacao)* **Re: oberlays handling.** Ringer today showed me: ```nix { overlay = final: prev: nixpkgs.lib.composeManyExtensions overlays) final prev; } ```23:14:04
@blaggacao:matrix.orgDavid Arnold (blaggacao)This makes all overlays again available as if they where all defined in a single overlay.23:14:37
@blaggacao:matrix.orgDavid Arnold (blaggacao) That most notable implication is that final can be cross referenced between them. 23:14:59
@blaggacao:matrix.orgDavid Arnold (blaggacao) We encourage separation into "atomic" overlay sets in devos, but this can be seen as a an escape hatch if need be. 23:15:33
@blaggacao:matrix.orgDavid Arnold (blaggacao) The "milacrous" merging of finals is something that one has to maintain vigilant about. 23:16:06
11 Nov 2021
@gtrunsec:matrix.org@gtrunsec:matrix.orgHi everyone, how about this feature https://github.com/GTrunSec/Coding-Dev-Env-With-NixFlake/runs/4182681465?check_suite_focus=true extend your bud command20:23:25
@gtrunsec:matrix.org@gtrunsec:matrix.orgExample: https://github.com/GTrunSec/Coding-Dev-Env-With-NixFlake/tree/main/devshell/shell PR: https://github.com/divnix/bud/pull/2923:02:39
12 Nov 2021
@blaggacao:matrix.orgDavid Arnold (blaggacao)
In reply to @gtrunsec:matrix.org
Hi everyone, how about this feature https://github.com/GTrunSec/Coding-Dev-Env-With-NixFlake/runs/4182681465?check_suite_focus=true extend your bud command
gtrunsec: I think that use case is already covered differently. For a python script, youd'd not use makBashScript... But a Python script runner... A few good examples to steal.from are in github.com/input-output-hk/cicero (in the lib - rg run).
21:47:40
@blaggacao:matrix.orgDavid Arnold (blaggacao) As for cuatom modules, one can already do self.budModules.name = {} 21:48:19
@blaggacao:matrix.orgDavid Arnold (blaggacao) Iirc, consequently one can do self.budModules.name = null to switch one off. 21:48:43
@blaggacao:matrix.orgDavid Arnold (blaggacao)Oh the runner where moved.21:50:57
@blaggacao:matrix.orgDavid Arnold (blaggacao) Look for rg run- & the associated codepath in that cicero repo. It has quite some of them we could reusue for bud. 21:51:43
@blaggacao:matrix.orgDavid Arnold (blaggacao)* Look for `rg 'run-'` & the associated codepath in that cicero repo. It has quite some of them we could reusue for bud.21:51:52
@blaggacao:matrix.orgDavid Arnold (blaggacao) I also have a makes runner in my mind ๐Ÿ˜† 21:52:28
@blaggacao:matrix.orgDavid Arnold (blaggacao) Sure, bud shall be obly ever the wrapper that knows how to recover host & user info from the environment and expose it uniformly to scripts so that a sensible default action in the current environment can be implemented. 21:53:32
@blaggacao:matrix.orgDavid Arnold (blaggacao)* Sure, `bud` shall be only ever the wrapper that knows how to recover host & user info from the environment and expose it uniformly to scripts so that a sensible default action in the current environment can be implemented.21:53:41
13 Nov 2021
@gtrunsec:matrix.org@gtrunsec:matrix.orgI found another solution for jobs. just an idea to here rbt/006-jobs.md at examples ยท rtfeldman/rbt08:19:37
@gtrunsec:matrix.org@gtrunsec:matrix.org * I found another solution for jobs. just an idea to here: https://github.com/rtfeldman/rbt/blob/examples/docs/adrs/006-jobs.md08:20:03
@gtrunsec:matrix.org@gtrunsec:matrix.org * I found another solution for jobs. just an idea to share: https://github.com/rtfeldman/rbt/blob/examples/docs/adrs/006-jobs.md08:27:46
@aciceri:nixos.devaciceri Hi,
I can't understand how to use deploy-rs, if I run deploy '.#pc inside my flake it starts building all my hosts (pc is the hostname of one of my configuration).
13:42:51
@aciceri:nixos.devaciceri * Hi,
I can't understand how to use deploy-rs, if I run deploy '.#pc inside my flake it starts building all my hosts (pc is the hostname of one of my configurations).
13:43:57
@genadij.udarov:matrix.orggenadij.udarov

deploy -d --hostname some-ssh-host-or-ip '.#nixoshost' --skip-checks --ssh-user root
Will build nixoshost on your PC and push it to some-ssh-host-or-ip. I wasn't able to find a way to build remotely, but I wasn't looking much either.

If you'll be able to find it, I'm interested in that as well.

13:44:49
@genadij.udarov:matrix.orggenadij.udarov *

deploy -d --hostname some-ssh-host-or-ip '.#nixoshost' --skip-checks --ssh-user root
Will build nixoshost on your PC and push it to some-ssh-host-or-ip logging in with user root. I wasn't able to find a way to build remotely, but I wasn't looking much either.

If you'll be able to find it, I'm interested in that as well.

13:45:09
@genadij.udarov:matrix.orggenadij.udarovI think this one is related: https://github.com/serokell/deploy-rs/issues/1213:45:54
@aciceri:nixos.devaciceri
In reply to @genadij.udarov:matrix.org

deploy -d --hostname some-ssh-host-or-ip '.#nixoshost' --skip-checks --ssh-user root
Will build nixoshost on your PC and push it to some-ssh-host-or-ip logging in with user root. I wasn't able to find a way to build remotely, but I wasn't looking much either.

If you'll be able to find it, I'm interested in that as well.

It's perfect, my goal is to build locally.
13:46:21
@aciceri:nixos.devaciceriAfter I'll try it, thank you.13:46:35

Show newer messages


Back to Room ListRoom Version: 6