From 627985edc07dc2e647f0378c1361d1515ff4fe68 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Thu, 10 Sep 2020 09:34:10 +0200 Subject: librepology: Add gitignore Signed-off-by: Matthias Beyer --- librepology/.gitignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 librepology/.gitignore diff --git a/librepology/.gitignore b/librepology/.gitignore new file mode 100644 index 0000000..eb5a316 --- /dev/null +++ b/librepology/.gitignore @@ -0,0 +1 @@ +target -- cgit v1.2.3 From d53904c28bff45e1332bf47b61b349a8e6b69a1d Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Thu, 10 Sep 2020 09:34:20 +0200 Subject: Add shell.nix file for development env 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..80c97c2 --- /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 + + openssl + cmake + gcc + + pkgconfig + ]; + LIBCLANG_PATH = "${pkgs.llvmPackages.libclang}/lib"; +} + -- cgit v1.2.3