juce: move to by-name

This commit is contained in:
r-vdp
2025-04-16 10:26:52 +02:00
parent 9b17c0931a
commit d0a1625690
3 changed files with 9 additions and 4 deletions
@@ -1,6 +1,7 @@
{
lib,
stdenv,
overrideSDK,
fetchFromGitHub,
# Native build inputs
@@ -32,6 +33,14 @@
nix-update-script,
}:
let
# Rebind this in a separate let-binding so that we can then rebind stdenv without infrec below
stdenv' = stdenv;
in
let
stdenv = if stdenv'.hostPlatform.isDarwin then overrideSDK stdenv' "11.0" else stdenv';
in
stdenv.mkDerivation (finalAttrs: {
pname = "juce";
version = "8.0.7";
-4
View File
@@ -2521,10 +2521,6 @@ with pkgs;
jellyfin-mpv-shim = python3Packages.callPackage ../applications/video/jellyfin-mpv-shim { };
juce = callPackage ../development/misc/juce {
stdenv = if stdenv.hostPlatform.isDarwin then overrideSDK stdenv "11.0" else stdenv;
};
kaldi = callPackage ../tools/audio/kaldi {
inherit (darwin.apple_sdk.frameworks) Accelerate;
};