@ -1,4 +1,4 @@
{ stdenv , ninja , which
{ stdenv , ninja , which , nodejs
# default dependencies
# default dependencies
, bzip2 , flac , speex , libopus
, bzip2 , flac , speex , libopus
@ -87,7 +87,7 @@ let
nativeBuildInputs = [
nativeBuildInputs = [
ninja which python2Packages . python perl pkgconfig
ninja which python2Packages . python perl pkgconfig
python2Packages . ply python2Packages . jinja2
python2Packages . ply python2Packages . jinja2 nodejs
] ;
] ;
buildInputs = defaultDependencies ++ [
buildInputs = defaultDependencies ++ [
@ -131,6 +131,9 @@ let
} ' gpu/config/gpu_control_list.cc
} ' gpu/config/gpu_control_list.cc
patchShebangs .
patchShebangs .
# use our own nodejs
mkdir - p third_party/node/linux/node-linux-x64/bin
ln - s $ ( which node ) third_party/node/linux/node-linux-x64/bin/node
'' + o p t i o n a l S t r i n g ( v e r s i o n A t L e a s t v e r s i o n " 5 2 . 0 . 0 . 0 " ) ''
'' + o p t i o n a l S t r i n g ( v e r s i o n A t L e a s t v e r s i o n " 5 2 . 0 . 0 . 0 " ) ''
sed - i - re ' s / ( [ ^ : ] ) \ < ( isnan * \ ( ) / \ 1 std:: \ 2/g ' \
sed - i - re ' s / ( [ ^ : ] ) \ < ( isnan * \ ( ) / \ 1 std:: \ 2/g ' \
third_party/pdfium/xfa/fxbarcode/utils.h
third_party/pdfium/xfa/fxbarcode/utils.h