diff --git a/pkgs/os-specific/linux/pam_dp9ik/default.nix b/pkgs/os-specific/linux/pam_dp9ik/default.nix index 382a3ca7b179..bd097caee497 100644 --- a/pkgs/os-specific/linux/pam_dp9ik/default.nix +++ b/pkgs/os-specific/linux/pam_dp9ik/default.nix @@ -14,10 +14,9 @@ stdenv.mkDerivation { nativeBuildInputs = [ pkg-config ]; buildInputs = [ pam ]; - makeFlags = [ "pam_p9.so" ]; - installPhase = '' - install -Dm755 -t $out/lib/security/ pam_p9.so - ''; + buildFlags = [ "pam_p9.so" ]; + installFlags = [ "PREFIX=$(out)" ]; + installTargets = "pam.install"; meta = with lib; { description = "dp9ik pam module";