From f0626ba077015e6953228b050a2407b9c4c71941 Mon Sep 17 00:00:00 2001 From: "Yury G. Kudryashov" Date: Tue, 29 Jan 2008 23:00:08 +0000 Subject: [PATCH] Fixed samba evaluation on freebsd (I hope) svn path=/nixpkgs/trunk/; revision=10393 --- pkgs/servers/samba/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/servers/samba/default.nix b/pkgs/servers/samba/default.nix index 50228766977..e8b1edc80e3 100644 --- a/pkgs/servers/samba/default.nix +++ b/pkgs/servers/samba/default.nix @@ -10,7 +10,8 @@ stdenv.mkDerivation rec { buildInputs = [readline pam openldap kerberos popt iniparser libunwind fam]; configureFlags = ''--with-pam --with-smbmount --datadir=$out/share - --with-aio-support --with-libiconv=${stdenv.gcc.libc}''; + --with-aio-support'' + + (if (stdenv.gcc.libc != null) then "--with-libiconv=${stdenv.gcc.libc}" else ""); postUnpack = "sourceRoot=\$sourceRoot/source"; configFile = ./smb.conf;