Add environment configuration for Nix
This commit is contained in:
parent
b3fa59a061
commit
11e9ce1994
20
default.nix
Normal file
20
default.nix
Normal file
@ -0,0 +1,20 @@
|
||||
let
|
||||
stable = import (fetchTarball { # 19.09
|
||||
url = https://github.com/NixOS/nixpkgs-channels/archive/a22b0189002.tar.gz;
|
||||
sha256 = "0rgd0cbxg9mrzb830hgjlvy134ivpfcnkyhbnlvvn8vl4y20zqmz";
|
||||
}) {};
|
||||
in {
|
||||
aeternityEnv = stable.stdenv.mkDerivation {
|
||||
name = "ecrecover";
|
||||
buildInputs = [
|
||||
## base
|
||||
stable.stdenv
|
||||
## erlang
|
||||
stable.erlangR21 # OTP 21.3.5.2
|
||||
## rust, required for building the NIF
|
||||
stable.rustc
|
||||
stable.cargo
|
||||
stable.cmake
|
||||
];
|
||||
};
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user