summary refs log tree commit diff
path: root/pkgs/os-specific/linux/pam/default.nix
diff options
context:
space:
mode:
authorWinter <winter@winter.cafe>2022-01-01 15:28:52 -0500
committerWinter <winter@winter.cafe>2022-01-01 15:39:55 -0500
commit0715ef59683a2f8091c7c4edceaff8d892ac1707 (patch)
treeafb8a85691c44b6cb26599f331a22f61c676d5ca /pkgs/os-specific/linux/pam/default.nix
parentdcab2ec6a5a44cf58bc96ac9104bf840f8fa514b (diff)
downloadnixpkgs-0715ef59683a2f8091c7c4edceaff8d892ac1707.tar
nixpkgs-0715ef59683a2f8091c7c4edceaff8d892ac1707.tar.gz
nixpkgs-0715ef59683a2f8091c7c4edceaff8d892ac1707.tar.bz2
nixpkgs-0715ef59683a2f8091c7c4edceaff8d892ac1707.tar.lz
nixpkgs-0715ef59683a2f8091c7c4edceaff8d892ac1707.tar.xz
nixpkgs-0715ef59683a2f8091c7c4edceaff8d892ac1707.tar.zst
nixpkgs-0715ef59683a2f8091c7c4edceaff8d892ac1707.zip
linux-pam: don't create dangling symlink during build
Diffstat (limited to 'pkgs/os-specific/linux/pam/default.nix')
-rw-r--r--pkgs/os-specific/linux/pam/default.nix12
1 files changed, 0 insertions, 12 deletions
diff --git a/pkgs/os-specific/linux/pam/default.nix b/pkgs/os-specific/linux/pam/default.nix
index 12ff9f493a3..33ab4f784fc 100644
--- a/pkgs/os-specific/linux/pam/default.nix
+++ b/pkgs/os-specific/linux/pam/default.nix
@@ -23,18 +23,6 @@ stdenv.mkDerivation rec {
 
   enableParallelBuilding = true;
 
-  postInstall = ''
-    mv -v $out/sbin/unix_chkpwd{,.orig}
-    ln -sv /run/wrappers/bin/unix_chkpwd $out/sbin/unix_chkpwd
-  ''; /*
-    rm -rf $out/etc
-    mkdir -p $modules/lib
-    mv $out/lib/security $modules/lib/
-  '';*/
-  # don't move modules, because libpam needs to (be able to) find them,
-  # which is done by dlopening $out/lib/security/pam_foo.so
-  # $out/etc was also missed: pam_env(login:session): Unable to open config file
-
   preConfigure = lib.optionalString (stdenv.hostPlatform.libc == "musl") ''
       # export ac_cv_search_crypt=no
       # (taken from Alpine linux, apparently insecure but also doesn't build O:))