From 7ed01d754e81b3fec92c223291a1fc94fe95de2a Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Sun, 5 Dec 2021 12:32:39 +0000 Subject: [PATCH] pure-ftpd: enable for darwin --- pkgs/servers/ftp/pure-ftpd/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/ftp/pure-ftpd/default.nix b/pkgs/servers/ftp/pure-ftpd/default.nix index d2e04eb372b8..80bcc361a8b0 100644 --- a/pkgs/servers/ftp/pure-ftpd/default.nix +++ b/pkgs/servers/ftp/pure-ftpd/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, openssl, fetchpatch }: +{ lib, stdenv, fetchurl, openssl, pam, fetchpatch }: stdenv.mkDerivation rec { pname = "pure-ftpd"; @@ -9,7 +9,7 @@ stdenv.mkDerivation rec { sha256 = "08zas1kg5pnckl28gs7q29952pjfyj8rj59bq96hscqbni7gkqmb"; }; - buildInputs = [ openssl ]; + buildInputs = [ openssl pam ]; configureFlags = [ "--with-tls" ]; @@ -18,6 +18,6 @@ stdenv.mkDerivation rec { homepage = "https://www.pureftpd.org"; license = licenses.isc; # with some parts covered by BSD3(?) maintainers = [ ]; - platforms = platforms.linux; + platforms = platforms.unix; }; }