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

View File

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