!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
12 Aug 2021
@kraftnix:matrix.org@kraftnix:matrix.orgi've been meaning to write a bud wrapper for agenix secrets integration, I have a mini bash script for it already21:01:08
@kraftnix:matrix.org@kraftnix:matrix.orgbut then you added easy to run integrated qemu-vm host testing and now i've lost 3 days to writing tests for all the things!21:01:36
@kraftnix:matrix.org@kraftnix:matrix.org also ultranix doing the full update might have fixed an issue for now but I'm running into the issue the others were discussing before (the nix patch issue) 21:03:48
@kraftnix:matrix.org@kraftnix:matrix.org
In reply to @timdeh:matrix.org

yep:

error: builder for '/nix/store/2hazs71krc2dkcc6qh6iq2cf46h7a4bm-nix-2.4pre20210802_47e96bb.drv' failed with exit code 1;
       last 10 log lines:
       > Hunk #6 succeeded at 496 (offset 8 lines).
       > Hunk #7 succeeded at 512 (offset 8 lines).
       > Hunk #8 succeeded at 531 (offset 8 lines).
       > 1 out of 8 hunks FAILED -- saving rejects to file src/libexpr/flake/flake.cc.rej
       > patching file src/libexpr/flake/flake.hh
       > Hunk #2 succeeded at 124 (offset 4 lines).
       > patching file src/libfetchers/fetchers.hh
       > patching file src/libfetchers/path.cc
       > patching file tests/flakes.sh
       > Hunk #2 succeeded at 686 (offset -56 lines).
       For full logs, run 'nix log /nix/store/2hazs71krc2dkcc6qh6iq2cf46h7a4bm-nix-2.4pre20210802_47e96bb.drv'.
this issue specficially
21:04:34
@ultranix:matrix.orgultranix kraftnix: just nix shell? 21:05:57
@ultranix:matrix.orgultranixthat doesnt seem to work for me anywhere, with a fresh clone of devos21:06:12
@kraftnix:matrix.org@kraftnix:matrix.org
In reply to @blaggacao:matrix.org
Can you try nix develop github:divnix/digga --command nix flake update
hoho, this fixes that
21:06:13
@ultranix:matrix.orgultranix nix shell leads to error: flake 'git+file:///home/tgunnoe/src/nixos' does not provide attribute 'packages.x86_64-linux.defaultPackage.x86_64-linux', 'legacyPackages.x86_64-linux.defaultPackage.x86_64-linux' or 'defaultPackage.x86_64-linux', devos doesnt have those attributes 21:07:24
@blaggacao:matrix.orgDavid Arnold (blaggacao)I wanted to make a gift to all of us on the occasion of 16 of august... https://github.com/serokell/deploy-rs/pull/114/commits/848359431e4d919e93918f946a0f89800ad17a2821:07:54
@ultranix:matrix.orgultranixah well its not a package21:07:55
@blaggacao:matrix.orgDavid Arnold (blaggacao) but....: error: cannot connect to 'root@[fe80::47%eno1]/mnt' 21:08:26
@kraftnix:matrix.org@kraftnix:matrix.org apologies, i said nix shell before but its meant to be nix develop 21:08:37
@kraftnix:matrix.org@kraftnix:matrix.organd I'm still getting that nix patch issue 😢21:09:45
@ultranix:matrix.orgultranixaah21:11:58
@ultranix:matrix.orgultranixwell i got a better backtrace i believe21:12:50
@ultranix:matrix.orgultranixoh, i'm getting that issue now too21:14:14
@kraftnix:matrix.org@kraftnix:matrix.org i got around it by reverting to you previously lock file and running nix flake lock --update-input nur 21:14:38
@d4hines:matrix.org@d4hines:matrix.org
In reply to @blaggacao:matrix.org
well, with that, you can enter the devshell which has some breadcrumbs...

No breadcrumbs here:

🔨 Welcome to nixos

[general commands]

  menu - prints this menu

I also checked shell.nix in the digga repo and I don't see anything about deploying a home manager config.

21:14:47
@blaggacao:matrix.orgDavid Arnold (blaggacao)ah! sorry, this is not part of the minimal example...21:15:30
@blaggacao:matrix.orgDavid Arnold (blaggacao)how much convenience would you like? can we top up a little?21:15:55
@ultranix:matrix.orgultranix
In reply to @kraftnix:matrix.org
i got around it by reverting to you previously lock file and running nix flake lock --update-input nur
ya good idea
21:16:37
@d4hines:matrix.org@d4hines:matrix.org
In reply to @blaggacao:matrix.org
how much convenience would you like? can we top up a little?
This has all the appearance of some kind of trick question 😆
21:17:03
@kraftnix:matrix.org@kraftnix:matrix.orghowever you run stable, so it's gonna take me a while to pull down everything from the cache21:17:07
@ultranix:matrix.orgultranixwhat's doing the patching?21:19:41
@blaggacao:matrix.orgDavid Arnold (blaggacao)
In reply to @d4hines:matrix.org
This has all the appearance of some kind of trick question 😆
🐰
21:22:59
@blaggacao:matrix.orgDavid Arnold (blaggacao)🎩21:23:05
@blaggacao:matrix.orgDavid Arnold (blaggacao)well, let's at least appreciate the warning that goes with bud: https://github.com/divnix/bud21:23:44
@blaggacao:matrix.orgDavid Arnold (blaggacao)but past that you could make yourselve a cosy shell like this one: https://github.com/divnix/devos/tree/main/shell21:25:00
@blaggacao:matrix.orgDavid Arnold (blaggacao) It features the bud buddy: https://github.com/divnix/devos/blob/5b89e53e7a39c603bed327023c953d0b30433ec2/shell/default.nix#L3-L5 21:25:41
@blaggacao:matrix.orgDavid Arnold (blaggacao)which has to be pulled in of course: https://github.com/divnix/devos/blob/5b89e53e7a39c603bed327023c953d0b30433ec2/flake.nix#L18-L2021:26:19

Show newer messages


Back to Room ListRoom Version: 6