From dab4608c4bad31078c3f29136b071f5e86ab717a Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Mon, 14 Jan 2008 11:23:24 +0000 Subject: [PATCH] Some updates to Samba for service. svn path=/nixpkgs/trunk/; revision=10139 --- pkgs/servers/samba/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/servers/samba/default.nix b/pkgs/servers/samba/default.nix index b46f6494c165..e94c2d1c5547 100644 --- a/pkgs/servers/samba/default.nix +++ b/pkgs/servers/samba/default.nix @@ -9,6 +9,9 @@ stdenv.mkDerivation { }; buildInputs = [readline pam openldap]; - configureFlags = "--with-pam --with-smbmount"; + configureFlags = [" --with-pam " " --with-smbmount " + " --datadir=\$out/share " " --with-acl-support " + " --with-aio-support "]; postUnpack = "sourceRoot=\$sourceRoot/source"; + postInstall = "rm -rf \$out/var ; ln -s /var/samba $out/var "; }