nasc: fix compile failure
Fix inspired by AUR patch: https://aur.archlinux.org/packages/nasc#comment-879822
This commit is contained in:
parent
0662bd2b69
commit
79c4e8aaa8
@ -60,6 +60,8 @@ stdenv.mkDerivation rec {
|
||||
substituteInPlace subprojects/libqalculate/libqalculate/Calculator-plot.cc \
|
||||
--replace 'commandline = "gnuplot"' 'commandline = "${gnuplot}/bin/gnuplot"' \
|
||||
--replace '"gnuplot - ' '"${gnuplot}/bin/gnuplot - '
|
||||
substituteInPlace subprojects/libqalculate/libqalculate/meson.build \
|
||||
--replace "link_with: 'libqalculate_lib_static'" "link_with: libqalculate_lib_static"
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
@ -80,6 +82,5 @@ stdenv.mkDerivation rec {
|
||||
platforms = platforms.linux;
|
||||
license = licenses.gpl3Plus;
|
||||
mainProgram = "com.github.parnold_x.nasc";
|
||||
broken = true; # at 2022-09-23
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user