From 86c058d2ca31ff139d0de1c17b6512981afd9f2a Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 12 Sep 2020 15:09:40 +0200 Subject: Add shell.nix file for development environment Signed-off-by: Matthias Beyer --- shell.nix | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 shell.nix 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 { 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"; +} + + -- cgit v1.2.3