vcv-rack: 2.2.0 -> 2.2.1
This is a very minor update to VCV Rack, but the upstream Makefiles now recognize `aarch64` in platform strings and accepts a CROSS_COMPILE environment variable for cross-compiling plugins for a given target. This commit updates the `makeFlags` accordingly.
This commit is contained in:
parent
c6f0383bc5
commit
3cf332fdb8
|
@ -115,7 +115,7 @@ let
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "VCV-Rack";
|
pname = "VCV-Rack";
|
||||||
version = "2.2.0";
|
version = "2.2.1";
|
||||||
|
|
||||||
desktopItems = [
|
desktopItems = [
|
||||||
(makeDesktopItem {
|
(makeDesktopItem {
|
||||||
|
@ -135,7 +135,7 @@ stdenv.mkDerivation rec {
|
||||||
owner = "VCVRack";
|
owner = "VCVRack";
|
||||||
repo = "Rack";
|
repo = "Rack";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1ag1syjxdzxx13pdcfga9ksc6a5hw9bcdfhbry8qd2pxs9lmv2q6";
|
sha256 = "079alr6y0101k92v5lrnycljcbifh0hsvklbf4w5ax2zrxnyplq8";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
@ -203,11 +203,9 @@ stdenv.mkDerivation rec {
|
||||||
zstd
|
zstd
|
||||||
];
|
];
|
||||||
|
|
||||||
makeFlags = [
|
makeFlags = lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
|
||||||
( if stdenv.hostPlatform.system == "aarch64-linux"
|
"CROSS_COMPILE=${stdenv.cc.targetPrefix}"
|
||||||
then "MACHINE=arm64-linux"
|
] ++ [
|
||||||
else "MACHINE=${stdenv.hostPlatform.config}"
|
|
||||||
)
|
|
||||||
"all"
|
"all"
|
||||||
"plugins"
|
"plugins"
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
diff --git a/Makefile b/Makefile
|
diff --git a/Makefile b/Makefile
|
||||||
index e1be07d1..309b3b0b 100644
|
index fc7c3af1..c3672c6a 100644
|
||||||
--- a/Makefile
|
--- a/Makefile
|
||||||
+++ b/Makefile
|
+++ b/Makefile
|
||||||
@@ -34,7 +34,7 @@ ifdef ARCH_LIN
|
@@ -34,7 +34,7 @@ ifdef ARCH_LIN
|
||||||
|
|
Loading…
Reference in a new issue