diff --git a/pkgs/applications/virtualization/xhyve/default.nix b/pkgs/applications/virtualization/xhyve/default.nix index 9941d34bc896..e34fa8559557 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