Hyprland/nix
Timothy DeHerrera 846fcd3683
nix: fix build by deferring submodule fetching
Currently, it isn't possible to fetch submodules on `inputs.self` of a
Nix flake. As a workaround, use `builtins.fetchGit` with `self.rev` of
the current checkout to include submodules.

This implementation defers submodule fetching to build time instead of
before the flake evaluation begins, which would be the case if it were
possible to specify submodule fetching in the `inputs` of `self` as with
other inputs. This way, when interacting with the other outputs of the
flake, the cost of fetching submodules is avoided.
2024-06-20 19:04:18 -06:00
..
default.nix nix: fix build by deferring submodule fetching 2024-06-20 19:04:18 -06:00
hm-module.nix Nix: remove duplicate options from modules (#4012) 2023-12-14 20:02:20 +02:00
module.nix Nix: remove duplicate options from modules (#4012) 2023-12-14 20:02:20 +02:00
overlays.nix nix: fix build by deferring submodule fetching 2024-06-20 19:04:18 -06:00
update-inputs.sh CI: update scripts 2023-07-20 11:20:22 +03:00
update-wlroots.sh subprojects: remove wlroots.wrap 2024-01-31 14:04:30 +02:00