installFonts: make preInstall hook (#513823)

This commit is contained in:
Yohann Boniface
2026-05-22 22:59:06 +00:00
committed by GitHub
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"
'';