Skip to content

Commit

Permalink
affine: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxiangmoe committed Dec 26, 2024
1 parent eb549f0 commit 9a899ac
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions pkgs/by-name/af/affine/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@
cacert,
cargo,
copyDesktopItems,
electron_33,
fetchFromGitHub,
fetchurl,
findutils,
jq,
lib,
makeDesktopItem,
makeWrapper,
nodejs_20,
rsync,
rustPlatform,
rustc,
stdenv,
stdenvNoCC,
yarn,
yarn-berry,
zip,
electron_33,
nodejs_20,
buildType ? "stable",
commandLineArgs ? "",
}:
Expand All @@ -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:
Expand Down Expand Up @@ -121,8 +122,8 @@ stdenv.mkDerivation (
};
nativeBuildInputs =
[
nodejs_20
yarn
nodejs
(yarn-berry.override { inherit nodejs; })
cargo
rustc
findutils
Expand Down

0 comments on commit 9a899ac

Please sign in to comment.