File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,8 @@ in pkgs.commonLib.defServiceModule
5757
5858 svcPackageSelector =
5959 pkgs : ## Local:
60- pkgs . cardanoNodePackages . tx-generator
60+ ## Avoid rebuilding on every commit because of `set-git-rev`.
61+ pkgs . cardanoNodePackages . tx-generator . passthru . noGitRev
6162 ## Imported by another repo, that adds an overlay:
6263 or pkgs . tx-generator ;
6364 ## TODO: that's actually a bit ugly and could be improved.
Original file line number Diff line number Diff line change 166166 } ;
167167 tx-generator = rec {
168168 # Local reference only used if not "cloud".
169- nix-store-path = pkgs . cardanoNodePackages . tx-generator ;
169+ nix-store-path = pkgs . cardanoNodePackages . tx-generator . passthru . noGitRev ;
170170 flake-reference = "github:intersectmbo/cardano-node" ;
171- flake-output = "cardanoNodePackages.tx-generator" ;
171+ flake-output = "cardanoNodePackages.tx-generator.passthru.noGitRev " ;
172172 } ;
173173 }
174174 ;
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ project.shellFor {
144144 cardano-topology
145145 cardano-tracer
146146 locli
147- tx-generator
147+ tx-generator . passthru . noGitRev
148148 ]
149149 # Include the workbench as a derivation or use the sources directly ?
150150 ++ lib . optionals ( ! workbenchDevMode ) [ workbench . workbench ]
You can’t perform that action at this time.
0 commit comments