Commit b456edd6 authored by Virgile Prevosto's avatar Virgile Prevosto
Browse files

[nix] update to new interface for plug-in derivation

parent 791aba1e
# paramaterised derivation with dependencies injected (callPackage style)
{ pkgs, stdenv, src ? ../., opam2nix,
ocaml_version ? "ocamlPackages_latest.ocaml", plugins ? { },
ocaml ? "ocamlPackages_latest.ocaml", plugins ? { },
plugin_extend ? self: super: { }
}:
......@@ -13,7 +13,7 @@ let frama_clang_build =
llvm?pkgs.${"llvm_"+llvm_version},
llvm_package?pkgs.${"llvmPackages_"+llvm_version} } :
(plugins.helpers.simple_plugin
{ inherit pkgs stdenv src opam2nix ocaml_version plugins plugin_extend;
{ inherit pkgs stdenv src opam2nix ocaml plugins plugin_extend;
name = "frama-clang-on-llvm-" + llvm_version;
deps = [ llvm_package.clang-unwrapped llvm pkgs.gnused ];
opamPackages = [ "camlp5=7.14" ];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment