nearly there, please someone check: libvirt/default.nix and see this post: http://www.redhat.com/archives/libvir-list/2007-May/msg00064.html

svn path=/nixpkgs/trunk/; revision=33998
This commit is contained in:
Joachim Schiele 2012-05-06 22:39:39 +00:00
parent f6c6bdda81
commit 38ec761dcf
2 changed files with 8 additions and 13 deletions

View File

@ -1,6 +1,6 @@
x@{builderDefsPackage x@{builderDefsPackage
, gnome, gtk, glib, libxml2, libvirt, gtkvnc, cyrus_sasl, libtasn1, wget,curl , gnome, gtk, glib, libxml2, libvirt, gtkvnc, cyrus_sasl, libtasn1, makeWrapper
, intltool, python , intltool, python, pygtk
, ...}: , ...}:
builderDefsPackage builderDefsPackage
(a : (a :
@ -34,19 +34,13 @@ rec {
inherit buildInputs; inherit buildInputs;
/* doConfigure should be removed if not needed */ /* doConfigure should be removed if not needed */
phaseNames = [ "doUnpack" "patchPhase" "doConfigure" "doMakeInstall"]; phaseNames = [ "doUnpack" "patchPhase" "doConfigure" "doMakeInstall" "installPhase" ];
#configureFlags = [ installPhase = a.fullDepEntry ''
# --with-libvirt-package-names=libvirt \ wrapProgram $out/bin/virt-manager --set PYTHONPATH $PYTHONPATH
# --with-kvm-packages=qemu-system-x86 '' ["minInit"];
# --with-libvirt-package-names=libvirt \ #NIX_CFLAGS_COMPILE = "-fno-stack-protector";
# --with-kvm-packages=qemu-kvm
# --with-libvirt-package-names=%libvirt_packages \
# --with-kvm-packages=%kvm_packages \
# "--with-libvirt-package-names=libvirt.py"
#];
meta = { meta = {
homepage = http://virt-manager.org; homepage = http://virt-manager.org;

View File

@ -35,6 +35,7 @@ stdenv.mkDerivation {
''; '';
enableParallelBuilding = true; enableParallelBuilding = true;
NIX_CFLAGS_COMPILE = "-fno-stack-protector";
meta = { meta = {
homepage = http://libvirt.org/; homepage = http://libvirt.org/;