-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-repo: update to 2.45, patch to run locally
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. Flake compat was updated and nixpkgs-unstable re-introduced to facilitate this change.
- Loading branch information
Showing
9 changed files
with
1,016 additions
and
19 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ system ? builtins.currentSystem }: | ||
let | ||
lock = builtins.fromJSON (builtins.readFile ./../flake.lock); | ||
flake-compat-entry = lock.nodes.root.inputs.flake-compat; | ||
|
||
inherit (lock.nodes."${ flake-compat-entry }".locked) owner repo narHash; | ||
|
||
flake-compat = builtins.fetchTarball { | ||
url = "https://github.com/${ owner }/${ repo }/archive/${ lock.nodes.flake-compat.locked.rev }.tar.gz"; | ||
sha256 = narHash; | ||
}; | ||
in | ||
import flake-compat { | ||
inherit system; | ||
|
||
src = ./..; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.