diff options
author | Wouter den Breejen <uu@denbreejen.net> | 2008-01-24 12:36:22 +0000 |
---|---|---|
committer | Wouter den Breejen <uu@denbreejen.net> | 2008-01-24 12:36:22 +0000 |
commit | ddb1fb9b1dd97630cda3c552bbb45879db8efa8b (patch) | |
tree | 1175a3e826e13fd198731684dad9b687a7207468 | |
parent | d0792fd3bc53107771d940637b2358119fa30944 (diff) |
Resolved missing .../lib/smb.conf error. Added smb.conf
svn path=/nixpkgs/trunk/; revision=10273
-rw-r--r-- | pkgs/servers/samba/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/servers/samba/default.nix b/pkgs/servers/samba/default.nix index e94c2d1c5547b..a0c16b4419508 100644 --- a/pkgs/servers/samba/default.nix +++ b/pkgs/servers/samba/default.nix @@ -13,5 +13,7 @@ stdenv.mkDerivation { " --datadir=\$out/share " " --with-acl-support " " --with-aio-support "]; 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"; } |