installFonts: make preInstall hook

This commit is contained in:
pancaek
2026-05-22 00:58:08 +02:00
committed by Yohann Boniface
parent 32ff23b7ea
commit 980931056e
2 changed files with 2 additions and 2 deletions
@@ -20,7 +20,7 @@
# This hook also provides an `installFont` function that can be used to install
# additional fonts of a particular extension into their respective folder.
#
postInstallHooks+=(installFonts)
preInstallHooks+=(installFonts)
installFont() {
if (($# != 2)); then
+1 -1
View File
@@ -21,7 +21,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
stripRoot = false;
};
postInstall = ''
preInstall = ''
rm -r "__MACOSX"
'';