Skip to content
Snippets Groups Projects
Commit bcb456a5 authored by François Bobot's avatar François Bobot
Browse files

Merge branch 'feature/opam2' into 'master'

Update Frama-CI data

See merge request frama-c/frama-c!2278
parents 990feed4 b4bf4045
No related branches found
No related tags found
No related merge requests found
......@@ -63,7 +63,8 @@ rec {
lint = stdenv.mkDerivation {
name = "frama-c-lint";
inherit src;
buildInputs = (mk_buildInputs {opamPackages = [ "ocp-indent" ];} ) ++ [ pkgs.bc plugins.headache.installed ];
buildInputs = (mk_buildInputs { opamPackages = [ { name = "ocp-indent"; constraint = "=1.6.1"; } ];} )
++ [ pkgs.bc plugins.headache.installed ];
outputs = [ "out" ];
postPatch = ''
patchShebangs .
......@@ -228,7 +229,7 @@ rec {
sed -i src/plugins/pathcrawler/extern/eclipseCLP/RUNME -e "s/chmod 2755/chmod 755/g"
rm src/plugins/pathcrawler/extern/eclipseCLP/lib/x86_64_linux/dbi_mysql.so
rm src/plugins/pathcrawler/extern/eclipseCLP/lib/x86_64_linux/ic.so
prefix="src/plugins/pathcrawler" autoPatchelf
autoPatchelf src/plugins/pathcrawler
make -j 4
ln -sr src/plugins/pathcrawler/share share/pc
make tests -j4 PTESTS_OPTS="-error-code -j 4"
......
......@@ -5,8 +5,8 @@ let
src = builtins.fetchGit {
"url" = "https://bobot:${password}@git.frama-c.com/frama-c/Frama-CI.git";
"name" = "Frama-CI";
"rev" = "ed541f6e3818da2bf31125740b8555acb086ca29";
"ref" = "feature/andre/yojson-mandatory-dependence";
"rev" = "cea0f2d2872e59fd3e6fe4634891a3765c7036e8";
"ref" = "feature/opam2";
};
in
{
......
......@@ -4,7 +4,7 @@ DIR=$(dirname $0)
export FRAMA_CI_NIX=$DIR/frama-ci.nix
export FRAMA_CI=$(nix-instantiate --eval -E "((import <nixpkgs> {}).callPackage $FRAMA_CI_NIX { password = \"$TOKEN_FOR_API\";}).src.outPath")
export FRAMA_CI=$(nix-instantiate --eval -E "((import <nixos-19.03> {}).callPackage $FRAMA_CI_NIX { password = \"$TOKEN_FOR_API\";}).src.outPath")
FRAMA_CI=${FRAMA_CI#\"}
FRAMA_CI=${FRAMA_CI%\"}
......
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