Created
July 1, 2025 15:48
-
-
Save numtel/3dfb3b963cbe9105cab80ecc24c6335d to your computer and use it in GitHub Desktop.
mixxx nix-shell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs ? import <nixpkgs> {} }: | |
with pkgs; | |
mkShell { | |
## Development tools | |
nativeBuildInputs = [ | |
cmake | |
pkg-config | |
kdePackages.wrapQtAppsHook | |
]; | |
## Mixxx library/runtime dependencies | |
buildInputs = [ | |
chromaprint | |
faad2 | |
ffmpeg | |
fftw | |
flac | |
gbenchmark | |
glibcLocales | |
gtest | |
hidapi | |
lame | |
libebur128 | |
libGLU | |
libid3tag | |
libdjinterop | |
libkeyfinder | |
libmad | |
libmodplug | |
libopus | |
libsecret | |
libshout | |
libsndfile | |
libusb1 | |
libvorbis | |
xorg.libxcb | |
lilv | |
lv2 | |
microsoft-gsl | |
mp4v2 | |
opusfile | |
portaudio | |
portmidi | |
protobuf | |
qt6.qt5compat | |
qt6.qtbase | |
qt6.qtdeclarative | |
kdePackages.qtkeychain | |
kdePackages.qtsvg | |
rubberband | |
serd | |
sord | |
soundtouch | |
sratom | |
sqlite | |
taglib | |
upower | |
vamp-plugin-sdk | |
wavpack | |
]; | |
## Ensure Qt apps find the right locale archive | |
shellHook = '' | |
export LOCALE_ARCHIVE=${glibcLocales}/lib/locale/locale-archive | |
# Create a build directory if it doesn't exist | |
if [ ! -d build ]; then | |
mkdir build | |
fi | |
echo "✅ Development shell ready!" | |
echo "→ To build: cd build && cmake .. \\ | |
-DINSTALL_USER_UDEV_RULES=OFF \\ | |
-DBUILD_BENCH=OFF && make" | |
''; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment