Skip to content

Commit 4a34728

Browse files
committed
Modify repo derivation to provide default local tool sources
The `repo` tool derivation by default includes only the main wrapper script which fetches the actual tool sources from the internet. We modify the derivation to provide default local sources patched with support for repo2nix, unless specified otherwise with CLI parameters.
1 parent 5a2f6fc commit 4a34728

File tree

5 files changed

+954
-9
lines changed

5 files changed

+954
-9
lines changed

flake.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525

2626
packages.x86_64-linux = {
2727
manual = (import ./docs { inherit pkgs; }).manual;
28+
gitRepo = pkgs.gitRepo;
2829
};
2930

3031
devShell.x86_64-linux = pkgs.mkShell {

0 commit comments

Comments
 (0)