Skip to content

Commit d0ff524

Browse files
authored
Merge pull request #248 from arcz/nixpkgs
Bump nixpkgs
2 parents d564592 + 354a7a6 commit d0ff524

File tree

4 files changed

+33
-36
lines changed

4 files changed

+33
-36
lines changed

.github/scripts/install-libsecp256k1.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ set -eux -o pipefail
33

44
## The following script builds and installs libsecp256k1 to ~/.local/lib
55

6-
INSTALL_VERSION=0.3.0
6+
INSTALL_VERSION=0.3.2
77

88
if [[ "$(uname -s)" =~ ^MSYS_NT.* ]]; then
99
echo "This script is only meant to run on Windows under MSYS2"

flake.lock

Lines changed: 27 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
inputs = {
55
flake-utils.url = "github:numtide/flake-utils";
66
nixpkgs.url = "github:nixos/nixpkgs";
7-
# nixpkgs with working solc
8-
nixpkgs-solc.url = "github:nixos/nixpkgs/1b71def42b74811323de2df52f180b795ec506fc";
97
foundry.url = "github:shazow/foundry.nix/monthly";
108
flake-compat = {
119
url = "github:edolstra/flake-compat";
@@ -21,14 +19,13 @@
2119
};
2220
};
2321

24-
outputs = { self, nixpkgs, nixpkgs-solc, flake-utils, solidity, ethereum-tests, foundry, ... }:
22+
outputs = { self, nixpkgs, flake-utils, solidity, ethereum-tests, foundry, ... }:
2523
flake-utils.lib.eachDefaultSystem (system:
2624
let
2725
pkgs = nixpkgs.legacyPackages.${system};
28-
solc' = nixpkgs-solc.legacyPackages.${system}.solc;
2926
testDeps = with pkgs; [
3027
go-ethereum
31-
solc'
28+
solc
3229
z3
3330
cvc5
3431
git
@@ -70,7 +67,7 @@
7067
]).overrideAttrs(final: prev: {
7168
HEVM_SOLIDITY_REPO = solidity;
7269
HEVM_ETHEREUM_TESTS_REPO = ethereum-tests;
73-
DAPP_SOLC = "${solc'}/bin/solc";
70+
DAPP_SOLC = "${pkgs.solc}/bin/solc";
7471
});
7572

7673
# wrapped binary for use on systems with nix available. ensures all
@@ -81,7 +78,7 @@
8178
buildInputs = [ makeWrapper ];
8279
postBuild = ''
8380
wrapProgram $out/bin/hevm \
84-
--prefix PATH : "${lib.makeBinPath ([ bash coreutils git solc' z3 cvc5 ])}"
81+
--prefix PATH : "${lib.makeBinPath ([ bash coreutils git solc z3 cvc5 ])}"
8582
'';
8683
};
8784

@@ -157,7 +154,7 @@
157154
# NOTE: hacks for bugged cabal new-repl
158155
LD_LIBRARY_PATH = libraryPath;
159156
HEVM_SOLIDITY_REPO = solidity;
160-
DAPP_SOLC = "${solc'}/bin/solc";
157+
DAPP_SOLC = "${pkgs.solc}/bin/solc";
161158
HEVM_ETHEREUM_TESTS_REPO = ethereum-tests;
162159
shellHook = lib.optionalString stdenv.isDarwin ''
163160
export DYLD_LIBRARY_PATH="${libraryPath}";

test/EVM/Test/Tracing.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ data EVMToolOutput =
120120
EVMToolOutput
121121
{ output :: ByteStringS
122122
, gasUsed :: W256
123-
, time :: Integer
124123
} deriving (Generic, Show)
125124

126125
instance JSON.FromJSON EVMToolOutput

0 commit comments

Comments
 (0)