3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #220752 from kirillrdy/openmoji

openmoji: fixup, patch for newer glob
This commit is contained in:
Weijia Wang 2023-03-12 12:18:38 +02:00 committed by GitHub
commit 98a55cb0fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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