summaryrefslogtreecommitdiff
path: root/modules/why3.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/why3.nix')
-rw-r--r--modules/why3.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/why3.nix b/modules/why3.nix
index b7adf6e..cd986d1 100644
--- a/modules/why3.nix
+++ b/modules/why3.nix
@@ -4,11 +4,10 @@ with lib;
let
cfg = config.why3;
why3BuildInputs = [ cfg.package ] ++ cfg.provers;
- why3Conf = pkgs.runCommand "why3.conf" { buildInputs = why3BuildInputs; }
- ''
+ why3Conf = pkgs.runCommand "why3.conf" { buildInputs = why3BuildInputs; } ''
why3 -C $out config detect
echo "${cfg.extraConfig}" >> $out
- '';
+ '';
why3Flags = concatStringsSep " " [ "--extra-config ${why3Conf}" ];
in {
options.why3 = {