maj/shell.nix

26 lines
657 B
Nix
Raw Normal View History

2020-07-31 11:49:06 +00:00
let
2020-07-31 16:16:15 +00:00
moz_overlay = import (builtins.fetchTarball
"https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz");
pkgs = import <nixpkgs> { overlays = [ moz_overlay ]; };
2020-07-31 11:49:06 +00:00
nur = import (builtins.fetchTarball
"https://github.com/nix-community/NUR/archive/master.tar.gz") {
inherit pkgs;
};
tex = with pkgs;
texlive.combine { inherit (texlive) scheme-medium bitter titlesec; };
in pkgs.mkShell {
2020-07-24 02:25:35 +00:00
buildInputs = with pkgs; [
2020-07-31 16:16:15 +00:00
pkgs.latest.rustChannels.stable.rust
2020-08-05 20:03:42 +00:00
cargo-watch
2020-07-25 16:39:10 +00:00
pkg-config
ncurses
2020-07-31 11:49:06 +00:00
kindlegen
nur.repos.mic92.pandoc-bin
tex
2020-07-24 02:25:35 +00:00
];
2020-08-05 20:03:42 +00:00
RUST_LOG="info,majsite=debug,majsite::server=debug";
2020-07-24 02:25:35 +00:00
}