-
Notifications
You must be signed in to change notification settings - Fork 238
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* use nix flake to lock build toolchains such as yarn, foundry, ghc, etc. * added nodejs 16 to dependencies * add flakes/whitehat * add flakes/whitehat * devShells * remove haskell tools * [SDK-CORE] 0.5.6 Patch Fix (#1074) * fix subgraphAPIEndpoint for sdk-core * Update constants.ts * third time is the charm * Update 5_subgraph.test.ts * proper env variable name * Update yarn.lock * address comments * isArbGoerli * updated contributing * typo Co-authored-by: 0xdavinchee <0xdavinchee@gmail.com>
- Loading branch information
1 parent
5f536a8
commit ca3893e
Showing
9 changed files
with
386 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
/.yarn/releases/** binary | ||
/.yarn/plugins/** binary | ||
*.sol linguist-language=Solidity |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
description = "The minimum development environment for working with the Superfluid protocol monorepo"; | ||
|
||
|
||
inputs = { | ||
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; | ||
flakeUtils.url = "github:numtide/flake-utils"; | ||
foundry.url = "github:shazow/foundry.nix"; | ||
}; | ||
|
||
outputs = { self, nixpkgs, flakeUtils, foundry } : | ||
flakeUtils.lib.eachDefaultSystem (system: | ||
let | ||
pkgs = import nixpkgs { inherit system; }; | ||
in { | ||
devShell = with pkgs; mkShell { | ||
buildInputs = [ | ||
# for nodejs ecosystem | ||
yarn | ||
nodejs-16_x | ||
# for solidity development | ||
foundry.defaultPackage.${system} | ||
]; | ||
}; | ||
}); | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
inputs = { | ||
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; | ||
flakeUtils.url = "github:numtide/flake-utils"; | ||
}; | ||
|
||
outputs = { self, nixpkgs, flakeUtils }: | ||
flakeUtils.lib.eachDefaultSystem (system: | ||
let | ||
pkgs = import nixpkgs { inherit system; }; | ||
in { | ||
devShell = with pkgs; mkShell { | ||
buildInputs = [ | ||
# for nodejs ecosystem | ||
yarn | ||
gnumake | ||
nodePackages.nodemon | ||
# for haskell spec | ||
haskell.compiler.ghc924 | ||
haskell-language-server | ||
]; | ||
}; | ||
}); | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
inputs = { | ||
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; | ||
flakeUtils.url = "github:numtide/flake-utils"; | ||
foundry.url = "github:shazow/foundry.nix"; | ||
echidna.url = "github:crytic/echidna"; | ||
}; | ||
|
||
outputs = { self, nixpkgs, flakeUtils, foundry, echidna }: | ||
flakeUtils.lib.eachDefaultSystem (system: | ||
let | ||
pkgs = import nixpkgs { inherit system; }; | ||
in { | ||
devShell = with pkgs; mkShell { | ||
buildInputs = [ | ||
# for nodejs ecosystem | ||
yarn | ||
nodejs-16_x | ||
# for solidity development | ||
foundry.defaultPackage.${system} | ||
slither-analyzer | ||
echidna.defaultPackage.${system} | ||
]; | ||
}; | ||
}); | ||
} |
Oops, something went wrong.