mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-22 04:57:56 +03:00
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 ];
|
||||
|
||||
configureFlags = "--audio-drv-list=alsa";
|
||||
configureFlags =
|
||||
[ "--audio-drv-list=alsa"
|
||||
"--smbd=smbd" # use `smbd' from $PATH
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
@ -22,12 +25,6 @@ stdenv.mkDerivation rec {
|
||||
ncurses python glib
|
||||
];
|
||||
|
||||
preBuild =
|
||||
''
|
||||
# Don't use a hardcoded path to Samba.
|
||||
substituteInPlace ./net.h --replace /usr/sbin/smbd smbd
|
||||
'';
|
||||
|
||||
postInstall =
|
||||
''
|
||||
# extboot.bin isn't installed due to a bug in the Makefile.
|
||||
|
Loading…
Reference in New Issue
Block a user