https://github.com/EasyCrypt/easycrypt
Revision a1eeaf04b47dfdc4d57d117a4ed51eeae199c237 authored by Pierre-Yves Strub on 05 May 2022, 08:02:38 UTC, committed by Pierre-Yves Strub on 05 May 2022, 13:14:49 UTC
This requires a modification of the docker image s.t. the user UID
is compatible with the one used by Github Action
1 parent aab2ca4
Raw File
Tip revision: a1eeaf04b47dfdc4d57d117a4ed51eeae199c237 authored by Pierre-Yves Strub on 05 May 2022, 08:02:38 UTC
[github-action]: do not start as root
Tip revision: a1eeaf0
default.nix
with import <nixpkgs> {};

if !lib.versionAtLeast why3.version "1.4" then
  throw "please update your nixpkgs channel: nix-channel --update"
else
  stdenv.mkDerivation {
    name = "easycrypt-1.0";
    src = ./.;
    buildInputs = [ why3 ] ++ (with ocamlPackages; [
      ocaml
      findlib
      batteries
      dune_2
      dune-build-info
      dune-site
      inifiles
      menhir
      menhirLib
      merlin
      yojson
      zarith
    ]);
    installFlags = [ "PREFIX=$(out)" ];
  }
back to top