Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 21 additions & 14 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -1,24 +1,31 @@
{ pkgs ? import <nixpkgs> { } }:

let
pkgs = import <nixpkgs> { };
in
pkgs.mkShell {
name = "Choreo";
nativeBuildInputs = with pkgs; [
pkg-config
wrapGAppsHook4
cargo
rustc
cargo-tauri
nodejs
corepack

packages = with pkgs; [
cmake
pipx
ninja
gcc
git
nodejs
pnpm
rustup
cmake
clang-tools
];

cacert
gnome.libsoup
buildInputs = with pkgs; [
librsvg
pkg-config
webkitgtk
webkitgtk_4_1
];

shellHook = ''
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/src-tauri
export XDG_DATA_DIRS="$GSETTINGS_SCHEMAS_PATH" # Needed on Wayland to report the correct display scale
pipx install wpiformat
export PATH="~/.local/bin:$PATH"
'';
}
Loading