mirror of
https://github.com/actix/actix-web.git
synced 2024-11-10 19:01:05 +00:00
misc: add temporary nix file
This commit is contained in:
parent
e0939a01fc
commit
99bccb74ac
1 changed files with 19 additions and 0 deletions
19
shell.nix
Normal file
19
shell.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{ pkgs ? import <nixpkgs> { } }:
|
||||
|
||||
with pkgs;
|
||||
|
||||
mkShell rec {
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
emacs
|
||||
rust-analyzer
|
||||
openssl
|
||||
ripgrep
|
||||
];
|
||||
buildInputs = [
|
||||
udev alsa-lib vulkan-loader
|
||||
xorg.libX11 xorg.libXcursor xorg.libXi xorg.libXrandr # To use the x11 feature
|
||||
libxkbcommon wayland # To use the wayland feature
|
||||
];
|
||||
LD_LIBRARY_PATH = lib.makeLibraryPath buildInputs;
|
||||
}
|
Loading…
Reference in a new issue