File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 11{
22 radicle-httpd ,
33 fetchFromGitHub ,
4- fetchgit ,
54 lib ,
65 buildNpmPackage ,
76 writeText ,
@@ -75,9 +74,9 @@ lib.fix (
7574 # same repo. For this reason we pin the sources to each other, but due to
7675 # radicle-httpd using a more limited sparse checkout we need to carry a
7776 # separate hash.
78- src = fetchgit {
79- inherit ( radicle-httpd . src ) url rev ;
77+ src = radicle-httpd . src . override {
8078 hash = "sha256-1OhZ0x21NlZIiTPCRpvdUsx5UmeLecTjVzH8DWllPr8=" ;
79+ sparseCheckout = [ ] ;
8180 } ;
8281
8382 postPatch = ''
Original file line number Diff line number Diff line change 11{
22 asciidoctor ,
3- fetchgit ,
3+ fetchFromRadicle ,
44 git ,
55 installShellFiles ,
66 lib ,
@@ -16,11 +16,13 @@ rustPlatform.buildRustPackage rec {
1616 env . RADICLE_VERSION = version ;
1717
1818 # You must update the radicle-explorer source hash when changing this.
19- src = fetchgit {
20- url = "https://seed.radicle.xyz/z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git" ;
21- rev = "refs/namespaces/z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM/refs/tags/v${ version } " ;
22- hash = "sha256-9rJH4ECqOJ9wnYxCbEFHXo3PlhbPdeOnF+Pf1MzX25c=" ;
19+ src = fetchFromRadicle {
20+ seed = "seed.radicle.xyz" ;
21+ repo = "z4V1sjrXqjvFdnCUbxPFqd5p4DtH5" ;
22+ node = "z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM" ;
23+ tag = "v${ version } " ;
2324 sparseCheckout = [ "radicle-httpd" ] ;
25+ hash = "sha256-9rJH4ECqOJ9wnYxCbEFHXo3PlhbPdeOnF+Pf1MzX25c=" ;
2426 } ;
2527
2628 sourceRoot = "${ src . name } /radicle-httpd" ;
You can’t perform that action at this time.
0 commit comments