Skip to content

Commit 418afac

Browse files
committed
Fix rebase artifacts -1-
1 parent 25e1b42 commit 418afac

File tree

5 files changed

+10
-385
lines changed

5 files changed

+10
-385
lines changed

crates/testgen/src/tests.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
#[cfg(not(feature = "tarpaulin"))]
22
use num_cpus;
33

4-
#[cfg(not(feature = "tarpaulin"))]
5-
use pallas_hardano::display::haskell_error::serialize_error;
64
use serde::Deserialize;
75
use std::process::Command;
86

nix/devshells.nix

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,15 @@ in {
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";

nix/internal/unix.nix

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -166,15 +166,14 @@ in
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
''}
@@ -187,7 +186,7 @@ in
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
@@ -224,24 +223,7 @@ in
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

src/api/utils/txs/evaluate.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
pub mod model;
21
pub mod root;
32
pub mod utxos;

0 commit comments

Comments
 (0)