diff options
author | Daiderd Jordan <daiderd@gmail.com> | 2016-12-20 13:02:14 +0100 |
---|---|---|
committer | Daiderd Jordan <daiderd@gmail.com> | 2016-12-20 13:02:27 +0100 |
commit | 49e3190efa3e307f48d3d3ebfefb421bc5956a6b (patch) | |
tree | 9e7e2eb02b59509e5a24464faf9db4857863b1bb /pkgs/applications/virtualization/xhyve | |
parent | 6b4a41a360efe14e6cb632d024467b19e991813c (diff) |
Revert "xhyve: update and fix to use our Hypervisor framework"
This reverts commit f3b65f67d98a2e67c739d4b76b3340eda1dd06f4.
Diffstat (limited to 'pkgs/applications/virtualization/xhyve')
-rw-r--r-- | pkgs/applications/virtualization/xhyve/default.nix | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/pkgs/applications/virtualization/xhyve/default.nix b/pkgs/applications/virtualization/xhyve/default.nix index c519784a6233..b7205ac000e2 100644 --- a/pkgs/applications/virtualization/xhyve/default.nix +++ b/pkgs/applications/virtualization/xhyve/default.nix @@ -1,25 +1,19 @@ -{ stdenv, lib, fetchurl, Hypervisor, vmnet, xpc, libobjc }: +{ stdenv, lib, fetchurl }: stdenv.mkDerivation rec { - name = "xhyve-${version}"; - version = "1f1dbe305"; + name = "xhyve-${version}"; + version = "0.2.0"; src = fetchurl { - url = "https://github.com/mist64/xhyve/archive/1f1dbe3059904f885e4ab2b3328f4bb350ea5c37.tar.gz"; - sha256 = "0hfix8yr90szlv2yyqb2rlq5qsrxyam8kg52sly0adja0cpwfjvx"; + url = "https://github.com/mist64/xhyve/archive/v${version}.tar.gz"; + sha256 = "0g1vknnh88kxc8aaqv3j9wqhq45mm9xxxbn1vcrypj3kk9991hrj"; }; - buildInputs = [ Hypervisor vmnet xpc libobjc ]; - # Don't use git to determine version - prePatch = '' - substituteInPlace Makefile \ - --replace 'shell git describe --abbrev=6 --dirty --always --tags' "$version" + buildFlags = '' + CFLAGS=-DVERSION=\"${version}\" ''; - - makeFlags = [ "CFLAGS+=-Wno-shift-sign-overflow" ''CFLAGS+=-DVERSION=\"${version}\"'' ]; - installPhase = '' mkdir -p $out/bin cp build/xhyve $out/bin |