mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 20:25:32 +03:00
affine: fix build (#368358)
This commit is contained in:
commit
7771f9dac3
1 changed files with 6 additions and 4 deletions
|
@ -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,8 @@ let
|
|||
.${hostPlatform.parsed.cpu.name}
|
||||
or (throw "affine(${buildType}): unsupported CPU family ${hostPlatform.parsed.cpu.name}");
|
||||
electron = electron_33;
|
||||
nodejs = nodejs_20;
|
||||
yarn = yarn-berry.override { inherit nodejs; };
|
||||
in
|
||||
stdenv.mkDerivation (
|
||||
finalAttrs:
|
||||
|
@ -121,7 +123,7 @@ stdenv.mkDerivation (
|
|||
};
|
||||
nativeBuildInputs =
|
||||
[
|
||||
nodejs_20
|
||||
nodejs
|
||||
yarn
|
||||
cargo
|
||||
rustc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue