2020-02-07 22:49:04 +00:00
|
|
|
let
|
2020-02-07 23:15:49 +00:00
|
|
|
sources = import ./nix/sources.nix;
|
2021-01-28 15:48:43 +00:00
|
|
|
pkgs =
|
|
|
|
import sources.nixpkgs { overlays = [ (import sources.nixpkgs-mozilla) ]; };
|
2020-02-29 21:05:00 +00:00
|
|
|
dhallpkgs = import sources.easy-dhall-nix { inherit pkgs; };
|
|
|
|
dhall-yaml = dhallpkgs.dhall-yaml-simple;
|
|
|
|
dhall = dhallpkgs.dhall-simple;
|
2020-02-13 22:45:21 +00:00
|
|
|
xepkgs = import sources.xepkgs { inherit pkgs; };
|
2021-01-15 03:36:34 +00:00
|
|
|
rust = pkgs.callPackage ./nix/rust.nix { };
|
2020-02-29 21:05:00 +00:00
|
|
|
in with pkgs;
|
|
|
|
with xepkgs;
|
|
|
|
mkShell {
|
|
|
|
buildInputs = [
|
2020-07-16 19:32:30 +00:00
|
|
|
# Rust
|
2020-12-02 21:16:58 +00:00
|
|
|
rust
|
2020-07-16 19:32:30 +00:00
|
|
|
cargo-watch
|
|
|
|
|
|
|
|
# system dependencies
|
|
|
|
openssl
|
|
|
|
pkg-config
|
2020-02-29 21:05:00 +00:00
|
|
|
|
|
|
|
# kubernetes deployment
|
|
|
|
dhall
|
|
|
|
dhall-yaml
|
|
|
|
|
|
|
|
# dependency manager
|
|
|
|
niv
|
2020-03-26 21:47:36 +00:00
|
|
|
|
|
|
|
# tools
|
|
|
|
ispell
|
2020-02-29 21:05:00 +00:00
|
|
|
];
|
2020-05-21 22:37:50 +00:00
|
|
|
|
2020-07-16 19:32:30 +00:00
|
|
|
SITE_PREFIX = "devel.";
|
2020-05-21 22:37:50 +00:00
|
|
|
CLACK_SET = "Ashlynn,Terry Davis,Dennis Ritchie";
|
2020-09-19 15:33:46 +00:00
|
|
|
RUST_LOG = "debug";
|
|
|
|
RUST_BACKTRACE = "1";
|
2021-01-28 15:48:43 +00:00
|
|
|
RUST_SRC_PATH =
|
|
|
|
"${pkgs.latest.rustChannels.nightly.rust-src}/lib/rustlib/src/rust/library";
|
2020-07-16 19:32:30 +00:00
|
|
|
GITHUB_SHA = "devel";
|
2020-02-13 22:45:21 +00:00
|
|
|
}
|