Open SnO2WMaN opened 2 years ago
The submodule is only used for the dhall
package's, so if you prefer not to use the submodule you can disable the dhall
test suite
However, I believe it should be possible for Nix to fetch a git
repository with submodules. For example, the dhall-lang
repository has a Nix build that depends on this repository and the submodule is fetched by the Nix build
I'll check later, thanks fast respnse.
You can fetch submodules via a flake input like this:
dhall = {
url = https://github.com/dhall-lang/dhall-haskell;
flake = false;
type = "git";
submodules = true; # So dhall-lang gets checked out
};
Or just normally with fetchGit
or whatnot with fetchSubmodules = true
.
I'm not familiar with Haskell or Haskell's projects, so I don't know the details.
dhall/dhall-lang
, this project depends on?Current version of lsp server have problem for VSCode (fixed but unreleased, related to https://github.com/dhall-lang/vscode-dhall-lsp-server/issues/37 ), so I want to use/install the latest lsp server with Nix, but this project depends on the submodule, so it can't built with Nix (probably the normal way). Probably this problem makes Nix Flake #2289 a bit of harder.