!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
12 Aug 2021
@ultranix:matrix.orgultranixbecause errors are from nixpkgs i believe20:10:24
@timdeh:matrix.org@timdeh:matrix.org it might be something simple. Try not using the with binding after imports. 20:13:57
@timdeh:matrix.org@timdeh:matrix.org computation in imports reliably causes infinite recursion, since it needs to compute to import, but it needs to import to compute, and so on 20:14:22
@timdeh:matrix.org@timdeh:matrix.org not sure if with would cause this, but it's worth a try. 20:14:49
@ultranix:matrix.orgultranixah, that's not it because i was just following the above example kraftnix provided. i dont usually have it.20:18:50
@ultranix:matrix.orgultranix i removed the whole home.users section from flake.nix because no one else seems to have it, and i dont understand what it's for 20:19:36
@ultranix:matrix.orgultranix i removed nonessentials from the users/<user>/default.nix to see if it works https://gist.github.com/tgunnoe/5af21a82e3dca1da70ea8585edf91fb6 but no luck either. i'll try to rebase on master again but the latest i have isnt that old, maybe a few weeks 20:22:09
@kraftnix:matrix.org@kraftnix:matrix.orgsorry, i got a call so can't look deeper for a bit, i recommend going super minimal and readding stuff till it works20:23:29
@ultranix:matrix.orgultranixnp20:24:17
@ultranix:matrix.orgultranixby the way, nur is referenced as an output on master but there's no input for it20:25:27
@d4hines:matrix.orgd4hines
In reply to @blaggacao:matrix.org
this might be of your liking: https://github.com/divnix/digga/tree/main/examples/hmOnly

How do I deploy the hmOnly example? I tried the previous command I was using and got an error about following a non-existent input:

nix run github:nix-community/home-manager --no-write-lock-file -- switch --flake .#d4hines
warning: not writing modified lock file of flake 'github:nix-community/home-manager':
* Added 'nixpkgs': 'github:NixOS/nixpkgs/f5a9dba0e9753699de8eba835c021cf7e7bd3375'
warning: Git tree '/home/d4hines/repos/beth' is dirty
error: input 'digga/deploy/naersk/nixpkgs' follows a non-existent input 'deploy/nixpkgs'
(use '--show-trace' to show detailed location information)
20:26:23
@blaggacao:matrix.orgDavid Arnold (blaggacao)That's a serious deadlock... We nead a serious hack (until that patch we are talking about lands) 20:28:05
@blaggacao:matrix.orgDavid Arnold (blaggacao) * That's a serious deadlock... We need a serious hack (until that patch we are talking about lands) 20:28:15
@d4hines:matrix.orgd4hinesLet me link you to the exact flake.nix https://github.com/d4hines/beth/blob/master/flake.nix20:29:11
@blaggacao:matrix.orgDavid Arnold (blaggacao) Can you try nix develop github:divnix/digga --command nix flake update 20:30:48
@blaggacao:matrix.orgDavid Arnold (blaggacao) (this gives you the patched version that is needed for updates only) 20:31:18
@blaggacao:matrix.orgDavid Arnold (blaggacao)once the lockfile is created, all commands work except updates.20:32:08
@d4hines:matrix.orgd4hines So what is the process then to do the switch? nix shell ...? 20:33:30
@d4hines:matrix.orgd4hines(The flake update command worked btw!)20:34:13
@blaggacao:matrix.orgDavid Arnold (blaggacao)well, with that, you can enter the devshell which has some breadcrumbs...20:54:33
@blaggacao:matrix.orgDavid Arnold (blaggacao) nix develop 20:54:43
@ultranix:matrix.orgultranixwhat is bud?20:55:27
@blaggacao:matrix.orgDavid Arnold (blaggacao) bud is your buddy: https://github.com/divnix/bud 20:55:51
@blaggacao:matrix.orgDavid Arnold (blaggacao)it can be used to create your own cli tool20:56:13
@blaggacao:matrix.orgDavid Arnold (blaggacao) and there is a home sucommand which might (eventually) 20:56:46
@blaggacao:matrix.orgDavid Arnold (blaggacao) * and there is a home sucommand which might (eventually) work: https://github.com/divnix/bud/blob/main/scripts/hm-home.bash 20:57:01
@blaggacao:matrix.orgDavid Arnold (blaggacao)(I haven't come around to test it yet properly)20:57:40
@blaggacao:matrix.orgDavid Arnold (blaggacao) * and there is a home sucommand which might (eventually) work: https://github.com/divnix/bud/blob/main/scripts/hm-home.bash d4hines 20:57:55
@blaggacao:matrix.orgDavid Arnold (blaggacao)here is an example of how to amend bud: https://github.com/divnix/devos/tree/main/bud20:58:36
@kraftnix:matrix.org@kraftnix:matrix.org
In reply to @ultranix:matrix.org
by the way, nur is referenced as an output on master but there's no input for it
maybe something in nur, or elsewhere was broken, I cloned your repo and couldn't nix shell until I just ran nix flake update and now it's at least pulling down stuff from cache, why don't you give that a go?
20:58:45

Show newer messages


Back to Room ListRoom Version: 6