From f094d3a0c50bfe7b48b0c5f8ebd46a52fd2cdba8 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 4 Jul 2020 22:30:58 +0200 Subject: Initial import Signed-off-by: Matthias Beyer --- shell.nix | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 shell.nix (limited to 'shell.nix') diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..df41ddf --- /dev/null +++ b/shell.nix @@ -0,0 +1,28 @@ +{ ... }: + +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 + curl + gcc + libpsl + openssl + pkgconfig + ncurses + ]; + LIBCLANG_PATH = "${pkgs.llvmPackages.libclang}/lib"; +} + + -- cgit v1.2.3