mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 02:42:59 +00:00
bruno: add back giflib removal patch
This commit is contained in:
parent
582038c397
commit
cc0b65fb04
@ -78,6 +78,14 @@ buildNpmPackage rec {
|
||||
|
||||
ELECTRON_SKIP_BINARY_DOWNLOAD = 1;
|
||||
|
||||
# remove giflib dependency
|
||||
npmRebuildFlags = [ "--ignore-scripts" ];
|
||||
preBuild = ''
|
||||
substituteInPlace node_modules/canvas/binding.gyp \
|
||||
--replace-fail "'with_gif%': '<!(node ./util/has_lib.js gif)'" "'with_gif%': 'false'"
|
||||
npm rebuild
|
||||
'';
|
||||
|
||||
dontNpmBuild = true;
|
||||
postBuild = ''
|
||||
npm run build --workspace=packages/bruno-common
|
||||
|
Loading…
Reference in New Issue
Block a user