Resolved missing .../lib/smb.conf error. Added smb.conf

svn path=/nixpkgs/trunk/; revision=10273
This commit is contained in:
Wouter den Breejen 2008-01-24 12:36:22 +00:00
parent d0792fd3bc
commit ddb1fb9b1d

View File

@ -13,5 +13,7 @@ stdenv.mkDerivation {
" --datadir=\$out/share " " --with-acl-support " " --datadir=\$out/share " " --with-acl-support "
" --with-aio-support "]; " --with-aio-support "];
postUnpack = "sourceRoot=\$sourceRoot/source"; postUnpack = "sourceRoot=\$sourceRoot/source";
postInstall = "rm -rf \$out/var ; ln -s /var/samba $out/var ";
configFile = ./smb.conf;
postInstall = "rm -rf \$out/var ; ln -s /var/samba $out/var; cp $configFile $out/lib/smb.conf";
} }