coq: allow static linking by moving wrapGAppsHook to nativeBuildInputs
Co-authored-by: Vincent Laporte <vbgl@users.noreply.github.com>
This commit is contained in:
parent
2c1ce60477
commit
4150bf02b5
|
@ -130,11 +130,12 @@ self = stdenv.mkDerivation {
|
|||
|
||||
nativeBuildInputs = [ pkg-config ]
|
||||
++ optional buildIde copyDesktopItems
|
||||
++ optional (buildIde && versionAtLeast "8.10") wrapGAppsHook
|
||||
++ optional (!versionAtLeast "8.6") gnumake42;
|
||||
buildInputs = [ ncurses ] ++ ocamlBuildInputs
|
||||
++ optionals buildIde
|
||||
(if versionAtLeast "8.10"
|
||||
then [ ocamlPackages.lablgtk3-sourceview3 glib gnome.adwaita-icon-theme wrapGAppsHook ]
|
||||
then [ ocamlPackages.lablgtk3-sourceview3 glib gnome.adwaita-icon-theme ]
|
||||
else [ ocamlPackages.lablgtk ])
|
||||
++ optional (versionAtLeast "8.14") ocamlPackages.dune_2
|
||||
;
|
||||
|
|
Loading…
Reference in a new issue