nix and compile features
This commit is contained in:
parent
db144d3bd2
commit
153ddb8419
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,2 @@
|
||||
/target
|
||||
/.vscode
|
||||
/Cargo.lock
|
2109
Cargo.lock
generated
Executable file
2109
Cargo.lock
generated
Executable file
File diff suppressed because it is too large
Load Diff
4
build.sh
Executable file
4
build.sh
Executable file
@ -0,0 +1,4 @@
|
||||
for i in i686-unknown-linux-gnu i686-pc-windows-gnu x86_64-pc-windows-gnu x86_64-unknown-linux-gnu
|
||||
do
|
||||
cargo build --release --target $i
|
||||
done
|
23
shell.nix
Executable file
23
shell.nix
Executable file
@ -0,0 +1,23 @@
|
||||
{ pkgs ? import <nixpkgs> {} }:
|
||||
pkgs.mkShell {
|
||||
nativeBuildInputs = with pkgs; [
|
||||
pkg-config
|
||||
xorg.libX11.dev
|
||||
xorg.libXft
|
||||
xorg.libXinerama
|
||||
xorg.libXi
|
||||
xorg.libXtst
|
||||
xorg.libX11
|
||||
xorg.libXcursor
|
||||
xorg.libXrandr
|
||||
libxkbcommon
|
||||
libxkbcommon.dev
|
||||
xorg.libxcb
|
||||
alsa-lib
|
||||
libudev-zero
|
||||
openssl
|
||||
];
|
||||
shellHook = ''
|
||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${pkgs.libxkbcommon}/lib
|
||||
'';
|
||||
}
|
Loading…
Reference in New Issue
Block a user