Merge pull request #176238 from symphorien/giac-browser

giac-with-xcas: fix command to open help inside browser
This commit is contained in:
Guillaume Girol 2022-06-15 20:39:13 +00:00 committed by GitHub
commit c30e557de4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 = [