!UUqahLbShAYkkrXmKs:matrix.org

DevOS

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

Load older messages


SenderMessageTime
10 Oct 2021
@aynish:sealight.xyz@aynish:sealight.xyz
In reply to @blaggacao:matrix.org
It would be nice if we could scramble together a PR with a failing test to fix this once-and-for-all.
i would write a PR with this test, since I can reliably reproduce this, but I'm not really sure how to write nix tests? happy to take resuorces and learn if you have any (will also search for examples)
15:55:10
@aynish:sealight.xyz@aynish:sealight.xyz

i cant really follow the rest, because im a noob lol. but i finally got a worknig devos install! :D

i can't quite get it to run all my home-manager configuration, I think i'm not importing it correctly? i add it to my user in suites in flake.nix, and then add that suite as an imports into my hosts file, but uhh, no luck... something for tomorrow

15:56:48
@pachumicchu:myrdd.infoPacman99If were to follow the same pattern as devshell with bud we could add an api container to digga for it. `bud.modules ` maybe also `makes.modules`16:39:41
@pachumicchu:myrdd.infoPacman99The way I see it we create instances of bud with various modules just like nixos and devshell.16:40:27
@pachumicchu:myrdd.infoPacman99But I wonder if its possible to add rebind support to the module system itself16:41:13
@blaggacao:matrix.orgDavid Arnold (blaggacao) The rebind idea was really just an exploration, and it is not a neccessity for bud to function. On the other hand it also was a way to not need any other api, that is, bud itself already fully defines it's api. 17:11:28
@blaggacao:matrix.orgDavid Arnold (blaggacao)
In reply to @aynish:sealight.xyz
i would write a PR with this test, since I can reliably reproduce this, but I'm not really sure how to write nix tests? happy to take resuorces and learn if you have any (will also search for examples)
I guess a minimal implementation in bud's ./e2e folder would be a good start
17:12:10
@princemachiavelli:matrix.org@princemachiavelli:matrix.org David Arnold (blaggacao): Is there a matrix channel for makes development? I am wondering if exposing the makes package in an overlay would be a good idea or not.... I also want to look into adding aarch64 support. 20:54:16
@blaggacao:matrix.orgDavid Arnold (blaggacao) princemachiavelli aarch64 would be certainly neat. But I guess an overlay is not the right approach. Overlays always bear the risk of breaking some things for somebody. Allowing that to happen would be a huge marketing burden for makes. 23:28:52
@blaggacao:matrix.orgDavid Arnold (blaggacao) I don't think there is a channel yet? /cc kamadorueda ? 23:29:16
@blaggacao:matrix.orgDavid Arnold (blaggacao)I think discussion is currently mainly kept as github issues.23:29:37
@princemachiavelli:matrix.org@princemachiavelli:matrix.orgThanks. I'll have to learn more about how to use the defaultPackage, defaultApp outputs. I'm in the process of adapting a project that was using devshell to expose various scripts and environment variables. 23:41:19
12 Oct 2021
@kraftnix:matrix.org@kraftnix:matrix.org I remember at some point there was some discussion on easily applying PRs/patches to nixpkgs, was wondering if there is a devos/digga pattern for it? 19:42:54
@kraftnix:matrix.org@kraftnix:matrix.org * I remember at some point there was some discussion on easily applying PRs/patches to nixpkgs (or other inputs), was wondering if there is a devos/digga pattern for it? 19:43:04
@timdeh:matrix.org@timdeh:matrix.orgflake-utils-plus has its own patching functionality, but irrc digga doesn't currently integrate it19:46:49
@pachumicchu:myrdd.infoPacman99We're holding out hope for a patching feature in nix itself19:47:13
@pachumicchu:myrdd.infoPacman99https://github.com/NixOS/nix/issues/392019:47:35
@kraftnix:matrix.org@kraftnix:matrix.org it would be great in nix itself, I brought it up because I remember seeing a few discussions/issues about it 19:47:48
@kraftnix:matrix.org@kraftnix:matrix.org
In reply to @timdeh:matrix.org
flake-utils-plus has its own patching functionality, but irrc digga doesn't currently integrate it
it would be nice to expose the fups patching functionality in digga/devos, would likely mean I could actually follow nixpkgs directly rather than my own fork
19:58:45
@pachumicchu:myrdd.infoPacman99I think this post sort of summarizes the problems with fups patching system and why I would be wary of integrating it into digga: https://github.com/gytis-ivaskevicius/flake-utils-plus/pull/9020:01:17
@pachumicchu:myrdd.infoPacman99Its a really cool feature, but it is setup in a rather messy way20:02:03
@kraftnix:matrix.org@kraftnix:matrix.org got it, good to know, guess i'll cross my fingers for a resolution at the nix level. in the meantime, anyone have a good workflow for maintaining a fair number of patches to nixpkgs and keeping it up to date? 20:07:02
@timdeh:matrix.org@timdeh:matrix.orga simple derivation that only runs the patch phase should do it20:08:00
@timdeh:matrix.org@timdeh:matrix.org(along with a list of desired patches)20:08:14
14 Oct 2021
@pachumicchu:myrdd.infoPacman99So I think I added bors to divnix/bud, but we need to fix the checks for that to be of any use17:25:00
15 Oct 2021
@gytis-ivaskevicius:matrix.org@gytis-ivaskevicius:matrix.orghey guys, at some point there was some conversation on flake inputs in toml file11:48:59
@gytis-ivaskevicius:matrix.org@gytis-ivaskevicius:matrix.orgi'd like to note long forgotten ini format - it allows using pretty much any characters in its sections11:49:33
@gytis-ivaskevicius:matrix.org@gytis-ivaskevicius:matrix.orgimage.png
Download image.png
11:49:36
@gytis-ivaskevicius:matrix.org@gytis-ivaskevicius:matrix.orgmay come in handy11:49:49
@pachumicchu:myrdd.infoPacman99INIs main problem is that there is a lack of a standard spec. TOML has exactly one spec that is universal and well maintained.16:01:42

Show newer messages


Back to Room ListRoom Version: 6