!SgYlXivkogarTVcnZO:nixos.org

Nix Flakes

885 Members
181 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
6 Aug 2025
@dramforever:matrix.orgdramforever... huh04:17:39
@dramforever:matrix.orgdramforeverso it's only git+file that eats submodules04:18:10
@cleverca22:matrix.orgcleverca22and the question becomes, which one is "right"?04:20:35
@cleverca22:matrix.orgcleverca22i guess now its time to pop open a ticket on github?04:20:57
@dramforever:matrix.orgdramforever git archive generates empty directory for submodule 04:21:29
@dramforever:matrix.orgdramforeverso i'm starting to think empty directory is "correct"04:21:41
@cleverca22:matrix.orgcleverca22 so fixing nix, would remove the one case where it works, and then pcsx-redux definitely needs a PR to fix it 04:22:18
@dramforever:matrix.orgdramforeveryes04:24:36
@dramforever:matrix.orgdramforevereven though i guess it would be slightly weird now04:24:56
@dramforever:matrix.orgdramforeverbecause until nix gets fixed you kinda need to handle both cases04:25:15
@cleverca22:matrix.orgcleverca22 you just need to rmdir, and handle if its already missing 04:25:33
@cleverca22:matrix.orgcleverca22and then copy the submodule into place04:25:37
@cleverca22:matrix.orgcleverca22and all of this mess, is only because flakes strip submodules!04:25:59
@cleverca22:matrix.orgcleverca22https://github.com/grumpycoders/pcsx-redux/blob/main/pcsx-redux.nix#L39-L11704:26:45
@cleverca22:matrix.orgcleverca22this whole mess of code, is there to recreate the submodules04:26:55
@dramforever:matrix.orgdramforever probably add -T to cp? 04:27:32
@dramforever:matrix.orgdramforeverwell you can get flakes to do submodules04:28:15
@cleverca22:matrix.orgcleverca22 ive tried before, and it doesnt actually do it for self 04:28:36
@dramforever:matrix.orgdramforever but you have to use git+something and then ?submodules=1 04:28:36

Show newer messages


Back to Room ListRoom Version: 6