forked from mirrors/nixpkgs
framac: use wrapGAppsHook
this solves a gdk-pixbuf related problem when using nix-bundle
This commit is contained in:
parent
80a2f1f35d
commit
6e5d98ebdb
|
@ -1,6 +1,7 @@
|
|||
{ lib, stdenv, fetchurl, makeWrapper, writeText
|
||||
, autoconf, ncurses, graphviz, doxygen
|
||||
, ocamlPackages, ltl2ba, coq, why3,
|
||||
, ocamlPackages, ltl2ba, coq, why3
|
||||
, gdk-pixbuf, wrapGAppsHook
|
||||
}:
|
||||
|
||||
let
|
||||
|
@ -33,20 +34,18 @@ stdenv.mkDerivation rec {
|
|||
|
||||
preConfigure = lib.optionalString stdenv.cc.isClang "configureFlagsArray=(\"--with-cpp=clang -E -C\")";
|
||||
|
||||
nativeBuildInputs = [ autoconf makeWrapper ];
|
||||
nativeBuildInputs = [ autoconf wrapGAppsHook ];
|
||||
|
||||
buildInputs = with ocamlPackages; [
|
||||
ncurses ocaml findlib ltl2ba ocamlgraph yojson menhir camlzip
|
||||
lablgtk coq graphviz zarith apron why3 mlgmpidl doxygen
|
||||
gdk-pixbuf
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
fixupPhase = ''
|
||||
for p in $out/bin/frama-c{,-gui};
|
||||
do
|
||||
wrapProgram $p --prefix OCAMLPATH ':' ${ocamlpath}
|
||||
done
|
||||
preFixup = ''
|
||||
gappsWrapperArgs+=(--prefix OCAMLPATH ':' ${ocamlpath})
|
||||
'';
|
||||
|
||||
# Allow loading of external Frama-C plugins
|
||||
|
|
Loading…
Reference in a new issue