xhyve: xhyve-0.1.0 -> xhyve-0.2.0
This commit is contained in:
parent
b0336c9854
commit
c0c1374b8a
|
@ -2,14 +2,17 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "xhyve-${version}";
|
name = "xhyve-${version}";
|
||||||
version = "0.1.0";
|
version = "0.2.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/mist64/xhyve/archive/v${version}.tar.gz";
|
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 = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
|
|
Loading…
Reference in New Issue