File tree Expand file tree Collapse file tree 5 files changed +10
-385
lines changed
Expand file tree Collapse file tree 5 files changed +10
-385
lines changed Original file line number Diff line number Diff line change 11#[ cfg( not( feature = "tarpaulin" ) ) ]
22use num_cpus;
33
4- #[ cfg( not( feature = "tarpaulin" ) ) ]
5- use pallas_hardano:: display:: haskell_error:: serialize_error;
64use serde:: Deserialize ;
75use std:: process:: Command ;
86
Original file line number Diff line number Diff line change 3030 name = "cardano-address" ;
3131 package = internal . cardano-address ;
3232 }
33- { package = config . language . rust . packageSet . cargo ; }
33+ { package = internal . dolos ; }
34+ { package = internal . mithril-client ; }
3435 { package = pkgs . cargo-nextest ; }
3536 { package = pkgs . cargo-tarpaulin ; }
36- { package = config . language . rust . packageSet . rust-analyzer ; }
37+ {
38+ name = "cargo" ;
39+ package = internal . rustPackages . cargo ;
40+ }
41+ { package = internal . rustPackages . rust-analyzer ; }
3742 {
3843 category = "handy" ;
3944 package = internal . runNode "preview" ;
Original file line number Diff line number Diff line change 166166 in
167167 ( import inputs . flake-compat {
168168 src =
169- if targetSystem != "aarch64-darwin" && targetSystem != "aarch64-linux"
170169 if targetSystem != "aarch64-darwin" && targetSystem != "aarch64-linux"
171170 then unpatched
172171 else {
173172 outPath = toString ( pkgs . runCommand "source" { } ''
174173 cp -r ${ unpatched } $out
175174 chmod -R +w $out
176175 cd $out
177- echo ${ lib . escapeShellArg ( builtins . toJSON [ targetSystem ] ) } >> $out/nix/supported-systems.nix
176+ echo ${ lib . escapeShellArg ( builtins . toJSON [ targetSystem ] ) } >$out/nix/supported-systems.nix
178177 ${ lib . optionalString ( targetSystem == "aarch64-linux" ) ''
179178 sed -r 's/"-fexternal-interpreter"//g' -i $out/nix/haskell.nix
180179 '' }
187186 cardano-node-packages =
188187 {
189188 x86_64-linux = cardano-node-flake . hydraJobs . x86_64-linux . musl ;
190- inherit ( cardano-node-flake . packages ) x86_64-darwin aarch64-darwin aarch64-linux aarch64-linux ;
189+ inherit ( cardano-node-flake . packages ) x86_64-darwin aarch64-darwin aarch64-linux ;
191190 }
192191 . ${
193192 targetSystem
224223 ln -s ${ dolos-configs } $out/dolos-configs
225224 '' ;
226225
227- testgen-hs-flake = let
228- unpatched = inputs . testgen-hs ;
229- in
230- ( import inputs . flake-compat {
231- src =
232- if targetSystem != "aarch64-linux"
233- then unpatched
234- else {
235- outPath = toString ( pkgs . runCommand "source" { } ''
236- cp -r ${ unpatched } $out
237- chmod -R +w $out
238- cd $out
239- patch -p1 -i ${ ./testgen-hs--enable-aarch64-linux.diff }
240- '' ) ;
241- inherit ( unpatched ) rev shortRev lastModified lastModifiedDate ;
242- } ;
243- } )
244- . defaultNix ;
226+ testgen-hs-flake = ( import inputs . flake-compat { src = inputs . testgen-hs ; } ) . defaultNix ;
245227
246228 testgen-hs = testgen-hs-flake . packages . ${ targetSystem } . default ;
247229
Original file line number Diff line number Diff line change 1- pub mod model;
21pub mod root;
32pub mod utxos;
You can’t perform that action at this time.
0 commit comments