From 90036927a909c7e9f77560970b2d7d4de4d72698 Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Mon, 18 Sep 2023 16:41:59 +0300 Subject: [PATCH] monkeysAudio: give stdenv.mkDerivation a function --- pkgs/applications/audio/monkeys-audio/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/audio/monkeys-audio/default.nix b/pkgs/applications/audio/monkeys-audio/default.nix index e0d3504bdbcd..bb11921823ca 100644 --- a/pkgs/applications/audio/monkeys-audio/default.nix +++ b/pkgs/applications/audio/monkeys-audio/default.nix @@ -4,13 +4,13 @@ , cmake }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { version = "10.22"; pname = "monkeys-audio"; src = fetchzip { url = "https://monkeysaudio.com/files/MAC_${ - builtins.concatStringsSep "" (lib.strings.splitString "." version)}_SDK.zip"; + builtins.concatStringsSep "" (lib.strings.splitString "." finalAttrs.version)}_SDK.zip"; sha256 = "sha256-JmDH9IudtuJdu1kSDI1RNaYiIgmPgH4RT2Myz9ihQH4="; stripRoot = false; }; @@ -28,4 +28,4 @@ stdenv.mkDerivation rec { license = licenses.free; maintainers = with maintainers; [ doronbehar ]; }; -} +})