File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 109109 polkadot-fast = polkadot-generic { enableFastRuntime = true ; } ;
110110
111111 fetchGitHubFile = {
112- commonArgs ,
112+ owner ,
113+ repo ,
114+ rev ,
113115 file ,
114116 hash
115- } : let
116- inherit ( commonArgs . src ) owner repo rev ;
117- in
117+ } :
118118 pkgs . fetchurl {
119119 url = "https://raw.githubusercontent.com/${ owner } /${ repo } /${ rev } /${ file } " ;
120120 inherit hash ;
Original file line number Diff line number Diff line change 3232
3333 rust-toolchain = rust-bin . fromRustupToolchainFile
3434 ( fetchGitHubFile {
35- inherit commonArgs ;
35+ inherit ( commonArgs . src ) owner repo rev ;
3636 file = "rust-toolchain.toml" ;
3737 hash = "sha256-Fyj+Bp/dt3epuTN9kXN+r7Z3gzXYCDrcVEPWTr1sQqk=" ;
3838 } ) ;
Original file line number Diff line number Diff line change 2929
3030 craneLib = craneLib-nightly . overrideToolchain ( rust-bin . fromRustupToolchainFile
3131 ( fetchGitHubFile {
32- inherit commonArgs ;
32+ inherit ( commonArgs . src ) owner repo rev ;
3333 file = "rust-toolchain" ;
3434 hash = "sha256-gHLj2AMKnStjvZcowfe9ZdTnwOBUPCRADmv81H7dAak=" ;
3535 } ) ) ;
You can’t perform that action at this time.
0 commit comments