From 0ffcb564998c981f4dc34ef496f60894a8ecfdb8 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sun, 10 Jan 2021 10:22:21 +0100 Subject: Pin nixpkgs This patch pins nixpkgs to an OLD revision, because in newer nixpkgs, boost changed and libdjinterop does not find it during build, causing nix-shell to fail. This fixes this by pinning, which is not the best idea, but works. Note that this results in mixxx being build against QT 5.12 rather than 5.15! Signed-off-by: Matthias Beyer --- shell.nix | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/shell.nix b/shell.nix index 28a0f0d380..16bc1f8129 100644 --- a/shell.nix +++ b/shell.nix @@ -1,9 +1,18 @@ -{ nixroot ? (import {}) -, defaultLv2Plugins ? false +{ defaultLv2Plugins ? false , lv2Plugins ? [] , releaseMode ? false }: -let inherit (nixroot) stdenv pkgs lib +let + nixroot = (import ( + (import {}).fetchFromGitHub { + owner = "nixos"; + repo = "nixpkgs"; + rev = "df25e214c8e662d693ef89e45ce56bbf58d6c59e"; + sha256 = "117ir2ysw310q87mndv6czph5qjbhvggmhawcvak6x507yf0dxin"; + } + ) {}); + + inherit (nixroot) stdenv pkgs lib chromaprint fftw flac libid3tag libmad libopus libshout libsndfile lilv libusb1 libvorbis libebur128 pkgconfig portaudio portmidi protobuf qt5 glib rubberband sqlite taglib soundtouch vamp opusfile hidapi upower ccache git -- cgit v1.2.3