| 20 Jul 2021 |
polykernel | * can a flake have inputs of an arbitrary type? | 01:28:03 |
| Andrea Pascal joined the room. | 03:37:43 |
David Arnold | In reply to @vika:matrix.nice.sampler.fi "follows" always uses the root flake for dependency resolution, not the parent flake I guess this PR has all the relevant details / fixes https://github.com/NixOS/nix/pull/4641 | 12:46:35 |
balsoft | In reply to @polykernel:kde.org can a flake have inputs of an arbitrary type? What do you mean by "type" of an input? | 12:47:31 |
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 | 12:48:39 |
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. | 12:50:13 |
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 |