3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #229367 from Artturin/generalchromiumimp

This commit is contained in:
Artturi 2023-05-02 17:36:08 +03:00 committed by GitHub
commit 2816ca91e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -331,7 +331,7 @@ let
buildPhase = let
buildCommand = target: ''
ninja -C "${buildPath}" -j$NIX_BUILD_CORES "${target}"
TERM=dumb ninja -C "${buildPath}" -j$NIX_BUILD_CORES "${target}"
(
source chrome/installer/linux/common/installer.include
PACKAGE=$packageName
@ -341,7 +341,11 @@ let
'';
targets = extraAttrs.buildTargets or [];
commands = map buildCommand targets;
in lib.concatStringsSep "\n" commands;
in ''
runHook preBuild
${lib.concatStringsSep "\n" commands}
runHook postBuild
'';
postFixup = ''
# Make sure that libGLESv2 and libvulkan are found by dlopen.