openmoji: fixup! patch for newer glob

This commit is contained in:
Kirill Radzikhovskyy 2023-03-12 11:57:20 +11:00
parent 8b6900dc2f
commit 8dcc17b6c1

View file

@ -63,6 +63,12 @@ in stdenv.mkDerivation rec {
nodePackages.lodash
];
postPatch = ''
# this is API change in glob >9
substituteInPlace helpers/generate-font-glyphs.js \
--replace "require('glob').sync" "require('glob').globSync"
'';
buildPhase = ''
runHook preBuild