feat: sync Nix config with dotfiles

This commit is contained in:
Harsh Shandilya 2022-05-29 09:57:44 +05:30
parent 598fb1304e
commit 7268dd54af
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80

View file

@ -2,11 +2,12 @@ with import <nixpkgs> { overlays = [ (import <rust-overlay>) ]; };
mkShell {
buildInputs = [
(rust-bin.stable.latest.default.override {
extensions = [ "rust-src" "rustfmt-preview" ];
extensions =
[ "rust-src" "rustc-dev" "rustfmt-preview" "llvm-tools-preview" ];
targets =
pkgs.lib.optionals pkgs.stdenv.isDarwin [ "aarch64-apple-darwin" ]
++ pkgs.lib.optionals pkgs.stdenv.isLinux
[ "x86_64-unknown-linux-musl" ];
[ "x86_64-unknown-linux-gnu" ];
})
pkg-config
openssl