Skip to content

Commit

Permalink
implement evm-assigner flake
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreyMlashkin committed Sep 2, 2024
1 parent fc9ca52 commit 5fcac98
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 0 additions & 2 deletions crypto3/crypto3.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ in stdenv.mkDerivation {

src = lib.sourceByRegex ./. [ ".*" ];

#src = src_repo;

nativeBuildInputs = [ cmake ninja pkg-config ] ++ (lib.optional (!stdenv.isDarwin) gdb);

# enableDebugging will keep debug symbols in boost
Expand Down
3 changes: 1 addition & 2 deletions evm-assigner/evm-assigner.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{ lib,
stdenv,
src_repo,
ninja,
pkg-config,
cmake,
Expand All @@ -21,7 +20,7 @@ let
in stdenv.mkDerivation rec {
name = "evm-assigner";

src = src_repo;
src = lib.sourceByRegex ./. [ ".*" ];

nativeBuildInputs = [ cmake ninja pkg-config ] ++ (lib.optional (!stdenv.isDarwin) gdb);

Expand Down
6 changes: 3 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
in {
packages = rec {
crypto3 = (pkgs.callPackage ./crypto3/crypto3.nix { });
#parallel-crypto3 = (pkgs.callPackage ./parallel-crypto3/flake.nix {
# crypto3 = crypto3;
#});
evm-assigner = (pkgs.callPackage ./evm-assigner/evm-assigner.nix {
crypto3 = crypto3;
});

# The "all" package will build all packages. Convenient for CI,
# so that "nix build" will check that all packages are correct.
Expand Down

0 comments on commit 5fcac98

Please sign in to comment.