| 20 Jul 2021 |
David Arnold | * I guess this PR has all the relevant details / fixes https://github.com/NixOS/nix/pull/4641 somteims one can work around that bug with something like https://www.github.com/divnix/devos/tree/develop/flake.nix#L49. But this work around stops working if things are too nested. We usually use the patched nix version in a devshell to update the lock file. The correctly generated lockfile is then also compatible with a non-patched nix version. | 12:51:19 |
David Arnold | In reply to @vika:matrix.nice.sampler.fi This property of "follows" surely could be exploited in some way to do interesting things... I regard it as a (better) substitute for overlays, as long as overlays is used to instantiate stuff on the same pkgs version. | 12:53:25 |
vika (she/her) 🏳️⚧️ | In reply to @blaggacao:matrix.org I guess this PR has all the relevant details / fixes https://github.com/NixOS/nix/pull/4641 somteims one can work around that bug with something like https://www.github.com/divnix/devos/tree/develop/flake.nix#L49. But this work around stops working if things are too nested. We usually use the patched nix version in a devshell to update the lock file. The correctly generated lockfile is then also compatible with a non-patched nix version. Maybe I should apply this patch to my Nix | 12:54:36 |
David Arnold | You might use divnix/digga.overlays.patchedNix for convenience. | 12:56:12 |
David Arnold | https://www.github.com/divnix/digga/tree/develop/overlays%2Fnix-patched.nix | 12:56:33 |