File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 2424
2525 outputs =
2626 {
27+ self ,
2728 nixpkgs ,
2829 fenix ,
2930 flake-utils ,
5152 {
5253 packages . partner-chains = customRustPlatform . buildRustPackage rec {
5354 pname = "partner-chains" ;
54- version = "1.7" ;
55+ version = ( builtins . fromTOML ( builtins . readFile ./Cargo.toml ) ) . workspace . package . version ;
5556 src = ./. ;
56- # preBuild = ''
57- # export SUBSTRATE_CLI_GIT_COMMIT_HASH=${dirtyShortRev or shortRev}
58- # '';
57+ preBuild = ''
58+ export SUBSTRATE_CLI_GIT_COMMIT_HASH=${ self . dirtyShortRev or self . shortRev }
59+ '' ;
5960
6061 useFetchCargoVendor = false ;
61- #cargoHash = "sha256-Kg8Z4IWJZ2Ml70JUf8dmIYI6QSYVflq+0lCk790taAc=";
6262 cargoLock = {
6363 lockFile = ./Cargo.lock ;
6464 outputHashes = {
6767 } ;
6868 } ;
6969 buildType = "production" ;
70- #buildAndTestSubdir = dir;
7170 doCheck = false ;
7271 patches = [ ] ;
7372
You can’t perform that action at this time.
0 commit comments