mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-07-12 08:06:20 -07:00
tree: include nix development shell
Add a dev shell for nix environments Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
parent
237dcfec74
commit
5d34e8de1b
1 changed files with 34 additions and 0 deletions
34
shell.nix
Normal file
34
shell.nix
Normal file
|
@ -0,0 +1,34 @@
|
|||
{ pkgs ? import <nixpkgs> {} }:
|
||||
with pkgs;
|
||||
(mkShell.override {stdenv = clangStdenv;}) {
|
||||
buildInputs = [
|
||||
libopus
|
||||
libvorbis
|
||||
opusfile
|
||||
nlohmann_json
|
||||
pkg-config
|
||||
cmake
|
||||
bzip2
|
||||
zlib
|
||||
SDL2
|
||||
SDL2_net
|
||||
spdlog
|
||||
lsb-release
|
||||
libpng
|
||||
libzip
|
||||
tinyxml-2
|
||||
|
||||
xorg.libX11
|
||||
xorg.libXcursor
|
||||
xorg.libXrandr
|
||||
xorg.libXi
|
||||
libglvnd
|
||||
libxkbcommon
|
||||
];
|
||||
|
||||
#
|
||||
# for some reason cmake needs this explicitly
|
||||
# cmake -H. -Bbuild-cmake -GNinja -DOPUSFILE_INCLUDE_DIR=$OPUSFILE_INCLUDE_DIR
|
||||
#
|
||||
OPUSFILE_INCLUDE_DIR="${opusfile.dev}/include/opus";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue