diff --git a/pkgs/by-name/af/affine/package.nix b/pkgs/by-name/af/affine/package.nix index 1fb002189e08a..d15f1ce0fd446 100644 --- a/pkgs/by-name/af/affine/package.nix +++ b/pkgs/by-name/af/affine/package.nix @@ -2,7 +2,6 @@ cacert, cargo, copyDesktopItems, - electron_33, fetchFromGitHub, fetchurl, findutils, @@ -10,14 +9,15 @@ lib, makeDesktopItem, makeWrapper, - nodejs_20, rsync, rustPlatform, rustc, stdenv, stdenvNoCC, - yarn, + yarn-berry, zip, + electron_33, + nodejs_20, buildType ? "stable", commandLineArgs ? "", }: @@ -32,6 +32,7 @@ let .${hostPlatform.parsed.cpu.name} or (throw "affine(${buildType}): unsupported CPU family ${hostPlatform.parsed.cpu.name}"); electron = electron_33; + nodejs = nodejs_20; in stdenv.mkDerivation ( finalAttrs: @@ -121,8 +122,8 @@ stdenv.mkDerivation ( }; nativeBuildInputs = [ - nodejs_20 - yarn + nodejs + (yarn-berry.override { inherit nodejs; }) cargo rustc findutils