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 24
24
25
25
outputs =
26
26
{
27
+ self ,
27
28
nixpkgs ,
28
29
fenix ,
29
30
flake-utils ,
51
52
{
52
53
packages . partner-chains = customRustPlatform . buildRustPackage rec {
53
54
pname = "partner-chains" ;
54
- version = "1.7" ;
55
+ version = ( builtins . fromTOML ( builtins . readFile ./Cargo.toml ) ) . workspace . package . version ;
55
56
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
+ '' ;
59
60
60
61
useFetchCargoVendor = false ;
61
- #cargoHash = "sha256-Kg8Z4IWJZ2Ml70JUf8dmIYI6QSYVflq+0lCk790taAc=";
62
62
cargoLock = {
63
63
lockFile = ./Cargo.lock ;
64
64
outputHashes = {
67
67
} ;
68
68
} ;
69
69
buildType = "production" ;
70
- #buildAndTestSubdir = dir;
71
70
doCheck = false ;
72
71
patches = [ ] ;
73
72
You can’t perform that action at this time.
0 commit comments