lanraragi: use cpanm directly

This commit is contained in:
TomaSajt
2025-08-14 01:27:09 +02:00
parent 4f76eccc52
commit 024a1d9bd0
+2 -2
View File
@@ -30,6 +30,7 @@ buildNpmPackage rec {
nativeBuildInputs = [
perl
perl.pkgs.Appcpanminus
makeBinaryWrapper
];
@@ -74,8 +75,7 @@ buildNpmPackage rec {
runHook preBuild
# Check if every perl dependency was installed
# explicitly call cpanm with perl because the shebang is broken on darwin
perl ${perl.pkgs.Appcpanminus}/bin/cpanm --installdeps ./tools --notest
cpanm --installdeps ./tools --notest
perl ./tools/install.pl install-full
rm -r node_modules public/js/vendor/*.map public/css/vendor/*.map