Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

river: fetching submodules directly into flake.nix #156

Merged
merged 1 commit into from
Jun 10, 2023
Merged

river: fetching submodules directly into flake.nix #156

merged 1 commit into from
Jun 10, 2023

Conversation

rodrgz
Copy link
Contributor

@rodrgz rodrgz commented Jun 9, 2023

These changes simplify the process of fetching submodules for River by directly specifying the submodule URL in the flake.nix file. The previous approach of using a separate JSON file and update script is no longer needed.

The issue arose because the original nixpkgs package the src.fetchSubmodules = true is used, it turns out that the behavior was not replicated by the way the River was declared in flake.nix, #153. Regrettably, there is no equivalent declaration, like inputs.src-name.fetchSubmodules = true. Fortunately, a helpful contributor NixOS/nix#4423 (comment) recently provided a solution.

@rodrgz rodrgz requested a review from a team as a code owner June 9, 2023 21:19
@dr460nf1r3 dr460nf1r3 added the needs-cache Needs to be pushed to Cachix label Jun 10, 2023
@github-actions
Copy link
Contributor

This PR has been built and cached successfully! All changed derivations have built successfully.

@github-actions github-actions bot added cached Built & Cached and removed needs-cache Needs to be pushed to Cachix labels Jun 10, 2023
@PedroHLC PedroHLC merged commit 2a1bba6 into chaotic-cx:main Jun 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cached Built & Cached
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants