nixpkgs/pkgs/servers/samba/default.nix
Wouter den Breejen ddb1fb9b1d Resolved missing .../lib/smb.conf error. Added smb.conf
svn path=/nixpkgs/trunk/; revision=10273
2008-01-24 12:36:22 +00:00

20 lines
598 B
Nix

args: with args;
stdenv.mkDerivation {
name = "samba-3.0.26a";
src = fetchurl {
url = http://us1.samba.org/samba/ftp/stable/samba-3.0.26a.tar.gz;
sha256 = "41e11f69288b2291f12f8db093e2c55dc1360555d4542c83c0758c4c7a3d4d37";
};
buildInputs = [readline pam openldap];
configureFlags = [" --with-pam " " --with-smbmount "
" --datadir=\$out/share " " --with-acl-support "
" --with-aio-support "];
postUnpack = "sourceRoot=\$sourceRoot/source";
configFile = ./smb.conf;
postInstall = "rm -rf \$out/var ; ln -s /var/samba $out/var; cp $configFile $out/lib/smb.conf";
}