Skip to content
Snippets Groups Projects
Commit 55d3691e authored by Allan Blanchard's avatar Allan Blanchard
Browse files

[ci] Fix for external plugin build

parent 04ca98c4
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,7 @@
, makeWrapper
, nix-gitignore
, wrapGAppsHook
, writeText
# Generic
, autoconf
, findlib
......@@ -78,11 +79,22 @@ stdenv.mkDerivation rec {
"FRAMAC_INSTALLDIR=$(out)"
];
# Simpler for our test target
postInstall = ''
mkdir -p $build_dir
tar -cf $build_dir/dir.tar .
'';
# Required so that tests of external plugins can be excuted
postFixup = ''
cp -r $out/share/doc $out/doc
'';
# Required so that Frama-C libs are found after install
setupHook = writeText "setupHook.sh" ''
export OCAMLPATH="''${OCAMLPATH-}''${OCAMLPATH:+:}''$1/lib"
'';
meta = {
description = "An extensible and collaborative platform dedicated to source-code analysis of C software";
homepage = "http://frama-c.com/";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment