diff options
Diffstat (limited to 'pkgs/applications/virtualization/xhyve/default.nix')
-rw-r--r-- | pkgs/applications/virtualization/xhyve/default.nix | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/pkgs/applications/virtualization/xhyve/default.nix b/pkgs/applications/virtualization/xhyve/default.nix index 9941d34bc896..b7205ac000e2 100644 --- a/pkgs/applications/virtualization/xhyve/default.nix +++ b/pkgs/applications/virtualization/xhyve/default.nix @@ -2,14 +2,17 @@ stdenv.mkDerivation rec { name = "xhyve-${version}"; - version = "0.1.0"; + version = "0.2.0"; src = fetchurl { url = "https://github.com/mist64/xhyve/archive/v${version}.tar.gz"; - sha256 = "0nbb9zy4iqmdz2dpyvcl1ynimrrpyd6f6cq8y2p78n1lmgqhrgkm"; + sha256 = "0g1vknnh88kxc8aaqv3j9wqhq45mm9xxxbn1vcrypj3kk9991hrj"; }; - buildFlags = "CFLAGS=-Wno-pedantic -Wno-shift-sign-overflow"; + # Don't use git to determine version + buildFlags = '' + CFLAGS=-DVERSION=\"${version}\" + ''; installPhase = '' mkdir -p $out/bin @@ -19,7 +22,7 @@ stdenv.mkDerivation rec { meta = { description = "Lightweight Virtualization on OS X Based on bhyve"; homepage = "https://github.com/mist64/xhyve"; - maintainers = lib.maintainers.lnl7; + maintainers = [ lib.maintainers.lnl7 ]; platforms = lib.platforms.darwin; }; } |