From 3655d61ca201b20fcb5e4fa0192ddcafbf6f7628 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Thu, 6 May 2021 17:33:46 +0000 Subject: feat(global): :star: --- shell.nix | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) (limited to 'shell.nix') diff --git a/shell.nix b/shell.nix index 2fbdb27..bbbb0af 100644 --- a/shell.nix +++ b/shell.nix @@ -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"; } -- cgit v1.2.3