diff options
author | Dominic Delabruere <ddelabru@redhat.com> | 2022-12-07 22:37:24 -0500 |
---|---|---|
committer | Dominic Delabruere <ddelabru@redhat.com> | 2022-12-07 22:37:24 -0500 |
commit | 3cf332fdb895ca61837a3c9ff1b8aeaf83c09938 (patch) | |
tree | 59412c7f88814a02e727785ff4a7e9fb80f08257 /pkgs/applications/audio/vcv-rack/default.nix | |
parent | c6f0383bc5fc475c868adb9ae174627f761557fc (diff) |
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.
Diffstat (limited to 'pkgs/applications/audio/vcv-rack/default.nix')
-rw-r--r-- | pkgs/applications/audio/vcv-rack/default.nix | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/pkgs/applications/audio/vcv-rack/default.nix b/pkgs/applications/audio/vcv-rack/default.nix index b4a5c98d8b416..4c7df0f02d5b9 100644 --- a/pkgs/applications/audio/vcv-rack/default.nix +++ b/pkgs/applications/audio/vcv-rack/default.nix @@ -115,7 +115,7 @@ let in stdenv.mkDerivation rec { pname = "VCV-Rack"; - version = "2.2.0"; + version = "2.2.1"; desktopItems = [ (makeDesktopItem { @@ -135,7 +135,7 @@ stdenv.mkDerivation rec { owner = "VCVRack"; repo = "Rack"; rev = "v${version}"; - sha256 = "1ag1syjxdzxx13pdcfga9ksc6a5hw9bcdfhbry8qd2pxs9lmv2q6"; + sha256 = "079alr6y0101k92v5lrnycljcbifh0hsvklbf4w5ax2zrxnyplq8"; }; patches = [ @@ -203,11 +203,9 @@ stdenv.mkDerivation rec { zstd ]; - makeFlags = [ - ( if stdenv.hostPlatform.system == "aarch64-linux" - then "MACHINE=arm64-linux" - else "MACHINE=${stdenv.hostPlatform.config}" - ) + makeFlags = lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [ + "CROSS_COMPILE=${stdenv.cc.targetPrefix}" + ] ++ [ "all" "plugins" ]; |