summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2021-01-10 10:22:21 +0100
committerMatthias Beyer <mail@beyermatthias.de>2021-01-10 10:41:02 +0100
commit0ffcb564998c981f4dc34ef496f60894a8ecfdb8 (patch)
tree73d7e508190c9e62417252fbc5cc2d2193bc4a6f
parenta1553e2ab4177dbb998fcd7c5bac41e3b5f89bc5 (diff)
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 <mail@beyermatthias.de>
-rw-r--r--shell.nix15
1 files 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 <nixpkgs> {})
-, defaultLv2Plugins ? false
+{ defaultLv2Plugins ? false
, lv2Plugins ? []
, releaseMode ? false
}:
-let inherit (nixroot) stdenv pkgs lib
+let
+ nixroot = (import (
+ (import <nixpkgs> {}).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