diff options
| author | Fuwn <[email protected]> | 2021-05-18 11:47:07 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-05-18 11:47:07 -0700 |
| commit | 7cb0fcc5bcd29195ad2b5e62ae1ed30d7b4050d0 (patch) | |
| tree | 30834a2e2ae430fd36172487e840dfae9470ddc7 /shell.nix | |
| download | records-7cb0fcc5bcd29195ad2b5e62ae1ed30d7b4050d0.tar.xz records-7cb0fcc5bcd29195ad2b5e62ae1ed30d7b4050d0.zip | |
feat(records): :star:
Diffstat (limited to 'shell.nix')
| -rw-r--r-- | shell.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..d8c76b9 --- /dev/null +++ b/shell.nix @@ -0,0 +1,32 @@ +let + sources = import ./nix/sources.nix; + pkgs = import sources.nixpkgs { overlays = [ (import sources.nixpkgs-mozilla) ]; }; + dhallpkgs = import sources.easy-dhall-nix { inherit pkgs; }; + dhall-yaml = dhallpkgs.dhall-yaml-simple; + dhall = dhallpkgs.dhall-simple; + rust = pkgs.callPackage ./nix/rust.nix { }; +in pkgs.mkShell { + buildInputs = with pkgs; [ + # Rust + rust + cargo-make + diesel-cli + cargo-watch + cargo-udeps + + # System + openssl + pkg-config + + # Dhall + dhall + dhall-yaml + + # Dependecy manager + niv + ]; + + PORT = 8080; + RUST_SRC_PATH = "${pkgs.latest.rustChannels.nightly.rust-src}/lib/rustlib/src/rust/library"; + RUST_BACKTRACE = "1"; +} |