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 ]; }; -} +})