Skip to content

Commit a6fbc63

Browse files
committed
[DO NOT MERGE] bump crytic-compile with autolink-capable version
1 parent ad6f305 commit a6fbc63

File tree

2 files changed

+33
-1
lines changed

2 files changed

+33
-1
lines changed

flake.lock

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

flake.nix

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,13 @@
1515
url = "github:hellwolf/solc.nix";
1616
inputs.nixpkgs.follows = "nixpkgs";
1717
};
18+
crytic-compile = {
19+
url = "github:crytic/crytic-compile/dev-autolink";
20+
flake = false;
21+
};
1822
};
1923

20-
outputs = { self, nixpkgs, flake-utils, nix-bundle-exe, solc-pkgs, foundry, ... }:
24+
outputs = { self, nixpkgs, flake-utils, nix-bundle-exe, solc-pkgs, foundry, crytic-compile, ... }:
2125
flake-utils.lib.eachDefaultSystem (system:
2226
let
2327
pkgs = import nixpkgs {
@@ -62,6 +66,16 @@
6266
pkgs.haskell.lib.compose.dontCheck
6367
]);
6468

69+
slither-analyzer = let
70+
python3 = pkgs.python3.override {
71+
packageOverrides = final: prev: {
72+
crytic-compile = prev.crytic-compile.overrideAttrs {
73+
src = crytic-compile;
74+
};
75+
};
76+
};
77+
in python3.pkgs.slither-analyzer;
78+
6579
echidna = pkgs: with pkgs; lib.pipe
6680
(haskellPackages.callCabal2nix "echidna" ./. { hevm = hevm pkgs; })
6781
([

0 commit comments

Comments
 (0)