!UUqahLbShAYkkrXmKs:matrix.org

DevOS

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

Load older messages


SenderMessageTime
27 Sep 2021
@blaggacao:matrix.orgDavid Arnold (blaggacao)Right hand side19:27:48
@timdeh:matrix.org@timdeh:matrix.orgah19:28:01
@timdeh:matrix.org@timdeh:matrix.orgI don't know what you mean 😅19:28:15
@blaggacao:matrix.orgDavid Arnold (blaggacao) (meaning on the rhs of = in an output assignation) 19:28:34
@timdeh:matrix.org@timdeh:matrix.orgah okay lemme check19:28:47
@blaggacao:matrix.orgDavid Arnold (blaggacao) If either self or inputs are somewhat used to infer the lhs then that usually ends up in an infinit recursion 19:29:31
@blaggacao:matrix.orgDavid Arnold (blaggacao)https://github.com/fluidattacks/makes/pull/57519:30:34
@blaggacao:matrix.orgDavid Arnold (blaggacao)I had that just recently19:30:40
@timdeh:matrix.org@timdeh:matrix.orgI guess it's back to the old "comment until the error stops" cycle 🤦‍♂️19:30:50
@timdeh:matrix.org@timdeh:matrix.orgthis seems to be happening at a more fundamental level, must be something during parsing of lock file because: A. it happens almost instantly before any meaningful evaluation could possibly happen B. I've commented out basically everything in my flake.nix and it's still happening19:36:08
@timdeh:matrix.org@timdeh:matrix.org

making it as minimal as possible:

    digga.lib.mkFlake
      {
        inherit self;

        inputs = {};
19:38:55
@timdeh:matrix.org@timdeh:matrix.orgthis still causes the issue ❗️19:39:02
@timdeh:matrix.org@timdeh:matrix.org *

making it as minimal as possible:

    digga.lib.mkFlake
      {
        inherit self;

        inputs = {};
      }
19:39:21
@timdeh:matrix.org@timdeh:matrix.orgdid the processing of self change recently?19:39:37
@timdeh:matrix.org@timdeh:matrix.orgnvm that can't be it, I just tried with an empty self19:40:06
@timdeh:matrix.org@timdeh:matrix.orgoh boy19:41:01
@timdeh:matrix.org@timdeh:matrix.org no it's definitely mkFlake, as removing it and adding a minimal nixosConfigurations just using nixos.lib.nixosSystem doesn't cause it 🤔 19:45:46
@timdeh:matrix.org@timdeh:matrix.orgmaybe it's something to do with my particular follows as I just messed with some to get rid of duplicates19:46:14
@yusdacra:nixos.devyusdacra changed their profile picture.19:50:41
@timdeh:matrix.org@timdeh:matrix.org oh wow it is because of follows somehow, even using latest unstable nix. If I just comment out all my follows then it doesn't happen 🤯 20:00:57
@timdeh:matrix.org@timdeh:matrix.orgokay at least I found it, I guess digga was in a situation where it was following itself due to me not being careful 😅20:17:27
@timdeh:matrix.org@timdeh:matrix.orgI think I'll open an upstream issue since that seems like something nix should be able to detect20:31:34
@pachumicchu:myrdd.infoPacman99
In reply to @blaggacao:matrix.org
That's not necessary, the submodule just checks out the respective commit. If that commit is already on GitHub's server then that's all it takes.
Got it, just switched to the branch on devos in the submodule and ran bors try. It so far seems to be working now.
22:25:54
@pachumicchu:myrdd.infoPacman99
In reply to @timdeh:matrix.org
oh wow it is because of follows somehow, even using latest unstable nix. If I just comment out all my follows then it doesn't happen 🤯
Out of curiosity, how did you manage to get digga to follow itself?
22:26:33
@pachumicchu:myrdd.infoPacman99That does seem like something nix should detect and report the recursion.22:27:46
@timdeh:matrix.org@timdeh:matrix.orgyeah it'd be better than just having a generic stack overflow and having to discover it yourself22:28:07
@timdeh:matrix.org@timdeh:matrix.orgso most of the flake-utils were following digga's flake-utils-plus/flake-utils input, so I was just carelessly copy pasting `*.follows = "digga/flake-utils-plus/flake-utils" and I happened to paste that on digga's flake-utils input itself 😅22:28:55
@timdeh:matrix.org@timdeh:matrix.org * so most of the flake-utils were following digga's flake-utils-plus/flake-utils input, so I was just carelessly copy pasting *.follows = "digga/flake-utils-plus/flake-utils" and I happened to paste that on digga's flake-utils input itself 😅 22:29:06
@pachumicchu:myrdd.infoPacman99Ohh interesting yeah that makes sense22:35:12
@pachumicchu:myrdd.infoPacman99Good to know for the future22:35:19

Show newer messages


Back to Room ListRoom Version: 6