giac-with-xcas: fix command to open help inside browser

This commit is contained in:
Guillaume Girol 2022-06-01 12:00:00 +00:00
parent bcf0dab292
commit 2f62b09ac8

View file

@ -43,6 +43,9 @@ stdenv.mkDerivation rec {
rm src/mkjs
substituteInPlace src/Makefile.am --replace "g++ mkjs.cc" \
"${buildPackages.stdenv.cc.targetPrefix}c++ mkjs.cc"
# to open help
substituteInPlace src/global.cc --replace 'browser="mozilla"' 'browser="xdg-open"'
'';
nativeBuildInputs = [