cinny-unwrapped: fix cross compile (#496178)

This commit is contained in:
Aleksana
2026-03-06 14:31:21 +00:00
committed by GitHub
+3 -16
View File
@@ -2,13 +2,7 @@
lib,
buildNpmPackage,
fetchFromGitHub,
giflib,
python3,
pkg-config,
pixman,
nodejs_22,
cairo,
pango,
stdenv,
}:
@@ -29,18 +23,11 @@ buildNpmPackage rec {
npmDepsHash = "sha256-2Lrd0jAwAH6HkwLHyivqwaEhcpFAIALuno+MchSIfxo=";
nativeBuildInputs = [
python3
pkg-config
# Skip rebuilding native modules since they're not needed for the web app
npmRebuildFlags = [
"--ignore-scripts"
];
buildInputs = [
pixman
cairo
pango
]
++ lib.optionals stdenv.hostPlatform.isDarwin [ giflib ];
installPhase = ''
runHook preInstall