diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2020-09-12 15:09:40 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2020-09-12 15:09:40 +0200 |
commit | 86c058d2ca31ff139d0de1c17b6512981afd9f2a (patch) | |
tree | 24c1da2819fa3f725fcccb1a9d930ffd2fd05889 | |
parent | 284c3734a2da25663ce9a9258f8ac5e7f3ad2847 (diff) |
Add shell.nix file for development environmentnix-shell
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r-- | shell.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..bcceaf7 --- /dev/null +++ b/shell.nix @@ -0,0 +1,25 @@ +{ ... }: + +let + moz_overlay = import ( + builtins.fetchTarball https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz + ); + + pkgs = import <nixpkgs> { overlays = [ moz_overlay ]; }; +in +pkgs.mkShell { + buildInputs = with pkgs; [ + rustChannels.stable.rust-std + rustChannels.stable.rust + rustChannels.stable.rustc + rustChannels.stable.cargo + + cmake + notmuch + openssl + webkitgtk + ]; + LIBCLANG_PATH = "${pkgs.llvmPackages.libclang}/lib"; +} + + |