diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2023-03-12 17:58:19 +0100 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2023-03-13 07:54:27 +0100 |
commit | 909f394f28c637a6d5a269d893b77e095b2812eb (patch) | |
tree | 259ee499104e77d321102af6d7d094366c1850aa /pkgs/os-specific/linux/pam | |
parent | 0d7cd666520621ebb3f2fb0e590064e8621e249e (diff) | |
download | nixpkgs-909f394f28c637a6d5a269d893b77e095b2812eb.tar nixpkgs-909f394f28c637a6d5a269d893b77e095b2812eb.tar.gz nixpkgs-909f394f28c637a6d5a269d893b77e095b2812eb.tar.bz2 nixpkgs-909f394f28c637a6d5a269d893b77e095b2812eb.tar.lz nixpkgs-909f394f28c637a6d5a269d893b77e095b2812eb.tar.xz nixpkgs-909f394f28c637a6d5a269d893b77e095b2812eb.tar.zst nixpkgs-909f394f28c637a6d5a269d893b77e095b2812eb.zip |
pam: Make libxcrypt a non-optional dependency
Our PAM configuration now defaults to yescrypt, which requires libxcrypt.
Diffstat (limited to 'pkgs/os-specific/linux/pam')
-rw-r--r-- | pkgs/os-specific/linux/pam/default.nix | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/pkgs/os-specific/linux/pam/default.nix b/pkgs/os-specific/linux/pam/default.nix index 22e7057e343..8b068100f32 100644 --- a/pkgs/os-specific/linux/pam/default.nix +++ b/pkgs/os-specific/linux/pam/default.nix @@ -1,6 +1,5 @@ -{ lib, stdenv, buildPackages, fetchurl, flex, cracklib, db4, gettext, audit +{ lib, stdenv, buildPackages, fetchurl, flex, cracklib, db4, gettext, audit, libxcrypt , nixosTests -, withLibxcrypt ? true, libxcrypt }: stdenv.mkDerivation rec { @@ -20,9 +19,8 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ flex ] ++ lib.optional stdenv.buildPlatform.isDarwin gettext; - buildInputs = [ cracklib db4 ] - ++ lib.optional stdenv.buildPlatform.isLinux audit - ++ lib.optional withLibxcrypt libxcrypt; + buildInputs = [ cracklib db4 libxcrypt ] + ++ lib.optional stdenv.buildPlatform.isLinux audit; enableParallelBuilding = true; |