boogie: fix basename issues; promote to package
This commit is contained in:
parent
714fdb425a
commit
ccb2d83980
@ -17007,6 +17007,8 @@ with pkgs;
|
||||
|
||||
aspino = callPackage ../applications/science/logic/aspino {};
|
||||
|
||||
boogie = dotnetPackages.Boogie;
|
||||
|
||||
coq_8_3 = callPackage ../applications/science/logic/coq/8.3.nix {
|
||||
make = pkgs.gnumake3;
|
||||
inherit (ocamlPackages_3_12_1) ocaml findlib;
|
||||
|
@ -221,8 +221,9 @@ let self = dotnetPackages // overrides; dotnetPackages = with self; {
|
||||
# SOURCE PACKAGES
|
||||
|
||||
Boogie = buildDotnetPackage rec {
|
||||
baseName = "Boogie-unstable";
|
||||
baseName = "Boogie";
|
||||
version = "2017-01-03";
|
||||
name = "${baseName}-unstable-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "boogie-org";
|
||||
@ -238,8 +239,8 @@ let self = dotnetPackages // overrides; dotnetPackages = with self; {
|
||||
outputFiles = [ "Binaries/*" ];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -pv "$out/lib/dotnet/Boogie"
|
||||
ln -sv "${pkgs.z3}/bin/z3" "$out/lib/dotnet/Boogie/z3.exe"
|
||||
mkdir -pv "$out/lib/dotnet/${baseName}"
|
||||
ln -sv "${pkgs.z3}/bin/z3" "$out/lib/dotnet/${baseName}/z3.exe"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user