diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2020-09-10 10:25:25 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2020-09-10 10:25:25 +0200 |
commit | 71fc2a63ae4953df1f01dee86c2d3e337c54de53 (patch) | |
tree | 00eb4af74903ad2a2f159753783247c78805913d | |
parent | 330e99924a767018009efcce388349e6130739a2 (diff) | |
parent | d53904c28bff45e1332bf47b61b349a8e6b69a1d (diff) |
Merge branch 'minor'
-rw-r--r-- | librepology/.gitignore | 1 | ||||
-rw-r--r-- | shell.nix | 25 |
2 files changed, 26 insertions, 0 deletions
diff --git a/librepology/.gitignore b/librepology/.gitignore new file mode 100644 index 0000000..eb5a316 --- /dev/null +++ b/librepology/.gitignore @@ -0,0 +1 @@ +target 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 <nixpkgs> { 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"; +} + |