diff options
| author | Fuwn <[email protected]> | 2021-05-06 17:33:46 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-05-06 17:33:46 +0000 |
| commit | 3655d61ca201b20fcb5e4fa0192ddcafbf6f7628 (patch) | |
| tree | 4f62722b72bd4aae74d54945aaac11e6ee448a88 /shell.nix | |
| parent | etc: Remove useless CORS headers (diff) | |
| download | api-3655d61ca201b20fcb5e4fa0192ddcafbf6f7628.tar.xz api-3655d61ca201b20fcb5e4fa0192ddcafbf6f7628.zip | |
feat(global): :star:
Diffstat (limited to 'shell.nix')
| -rw-r--r-- | shell.nix | 22 |
1 files changed, 18 insertions, 4 deletions
@@ -1,9 +1,23 @@ let sources = import ./nix/sources.nix; - rust = import ./nix/rust.nix { inherit sources; }; - pkgs = import sources.nixpkgs { }; + 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 ]; + buildInputs = with pkgs; [ + # Rust + rust - # GITHUB_TOKEN = ""; + # Dhall + dhall + dhall-yaml + + # Dependecy manager + niv + ]; + + RUST_SRC_PATH = "${pkgs.latest.rustChannels.nightly.rust-src}/lib/rustlib/src/rust/library"; + RUST_BACKTRACE = "1"; } |