New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add dafny; fixup Boogie #22507
Add dafny; fixup Boogie #22507
Conversation
version = "2017-01-03"; | ||
name = "${baseName}-unstable-${version}"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me 👍
pkgs/top-level/dotnet-packages.nix
Outdated
''; | ||
|
||
meta = { | ||
description = "A programming language with built-in specification constructs."; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Descriptions should not end with a period.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right! Fixed.
pkgs/top-level/dotnet-packages.nix
Outdated
|
||
meta = { | ||
description = "A programming language with built-in specification constructs."; | ||
homepage = "http://research.microsoft.com/dafny"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nitpick: You don't need quotes around Urls.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unless it is a merge-blocking issue for you, I am going to leave this as-is. There is nothing saying that urls should not be quoted in the CONTRIBUTING.md. And nothing in the nix manual about urls as language values, only paths.
Fixed according to reviews, and removed the usage of 'lib' that made travis fail. |
Motivation for the change
Introduce dafny, which uses Boogie.
And fix Boogie, because the last edit (changing the baseName) right before merge (#22400) broke it.
Also propote boogie and dafny as toplevel packages, because they both have toplevel standalone executables corresponding to their names.
Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)/cc @obadz ('coz it's dotnet), @taktoa ('coz I changed Boogie), @pSub ('coz he approved the changes to Boogie) and @rycee ('coz he merged Boogie)