git.iko.soy/typeable/nixpkgs
on master help sign in
mixxx 2.1.3: Fixed glibc locale bug
commita847dccf45c1ff7c74221a782c42711481387b58 authorBernard Fortz <bernard.fortz@gmail.com> dateFri 31 Aug 2018, 14:38 (8 years ago) parent17564e0
1 file changed+10−2
pkgs/applications/audio/mixxx/default.nix+10−2
pkgs/applications/audio/mixxx/default.nix+10−2
@@ -1,4 +1,5 @@
1−{ stdenv, fetchFromGitHub, chromaprint, fetchpatch, fftw, flac, faad2, mp4v2
1+{ stdenv, fetchFromGitHub, makeWrapper, chromaprint, fetchpatch
2+, fftw, flac, faad2, glibcLocales, mp4v2
23, libid3tag, libmad, libopus, libshout, libsndfile, libusb1, libvorbis
34, pkgconfig, portaudio, portmidi, protobuf, qt4, rubberband, scons, sqlite
45, taglib, upower, vampSDK
@@ -15,8 +16,10 @@ stdenv.mkDerivation rec {
1516 sha256 = "1fm8lkbnxka4haidf6yr8mb3r6vaxmc97hhrp8pcx0fvq2mnzvy2";
1617 };
1718
19+ nativeBuildInputs = [ makeWrapper ];
20+
1821 buildInputs = [
19− chromaprint fftw flac faad2 mp4v2 libid3tag libmad libopus libshout libsndfile
22+ chromaprint fftw flac faad2 glibcLocales mp4v2 libid3tag libmad libopus libshout libsndfile
2023 libusb1 libvorbis pkgconfig portaudio portmidi protobuf qt4
2124 rubberband scons sqlite taglib upower vampSDK
2225 ];
@@ -42,6 +45,11 @@ stdenv.mkDerivation rec {
4245 runHook postInstall
4346 '';
4447
48+ fixupPhase = ''
49+ wrapProgram $out/bin/mixxx \
50+ --set LOCALE_ARCHIVE ${glibcLocales}/lib/locale/locale-archive;
51+ '';
52+
4553 meta = with stdenv.lib; {
4654 homepage = https://mixxx.org;
4755 description = "Digital DJ mixing software";