QEMU-KVM: Use `smbd' from $PATH.
svn path=/nixpkgs/trunk/; revision=32634
This commit is contained in:
parent
9e371a98c2
commit
e3a27acfdb
@ -13,7 +13,10 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
patches = [ ./smb-tmpdir.patch ./qemu-img-fix-corrupt-vdi.patch ];
|
patches = [ ./smb-tmpdir.patch ./qemu-img-fix-corrupt-vdi.patch ];
|
||||||
|
|
||||||
configureFlags = "--audio-drv-list=alsa";
|
configureFlags =
|
||||||
|
[ "--audio-drv-list=alsa"
|
||||||
|
"--smbd=smbd" # use `smbd' from $PATH
|
||||||
|
];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
@ -22,12 +25,6 @@ stdenv.mkDerivation rec {
|
|||||||
ncurses python glib
|
ncurses python glib
|
||||||
];
|
];
|
||||||
|
|
||||||
preBuild =
|
|
||||||
''
|
|
||||||
# Don't use a hardcoded path to Samba.
|
|
||||||
substituteInPlace ./net.h --replace /usr/sbin/smbd smbd
|
|
||||||
'';
|
|
||||||
|
|
||||||
postInstall =
|
postInstall =
|
||||||
''
|
''
|
||||||
# extboot.bin isn't installed due to a bug in the Makefile.
|
# extboot.bin isn't installed due to a bug in the Makefile.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user