aboutsummaryrefslogtreecommitdiff
path: root/shell.nix
blob: 59bbdc908a18d4c8f8b77379246a687be6164d5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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;
  xepkgs = import sources.xepkgs { inherit pkgs; };
  rust = pkgs.callPackage ./nix/rust.nix { };
in with pkgs;
with xepkgs;
mkShell {
  buildInputs = [
    # Rust
    rust
    cargo-watch

    # system dependencies
    openssl
    pkg-config

    # kubernetes deployment
    dhall
    dhall-yaml

    # dependency manager
    niv

    # tools
    ispell
  ];

  SITE_PREFIX = "devel.";
  CLACK_SET = "Ashlynn,Terry Davis,Dennis Ritchie";
  RUST_LOG = "debug";
  RUST_BACKTRACE = "1";
  RUST_SRC_PATH =
    "${pkgs.latest.rustChannels.nightly.rust-src}/lib/rustlib/src/rust/library";
  GITHUB_SHA = "devel";
}