mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-21 04:13:12 +00:00
pam_rssh: fix openssh without dsa support
This commit is contained in:
parent
f85ef2f873
commit
95560d5513
@ -1,11 +1,12 @@
|
|||||||
{ lib
|
{
|
||||||
, rustPlatform
|
lib,
|
||||||
, fetchFromGitHub
|
rustPlatform,
|
||||||
, coreutils
|
fetchFromGitHub,
|
||||||
, pkg-config
|
coreutils,
|
||||||
, openssl
|
pkg-config,
|
||||||
, pam
|
openssl,
|
||||||
, openssh
|
pam,
|
||||||
|
openssh,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
@ -28,9 +29,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
--replace '/bin/false' '${coreutils}/bin/false'
|
--replace '/bin/false' '${coreutils}/bin/false'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [ pkg-config ];
|
||||||
pkg-config
|
|
||||||
];
|
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
openssl
|
openssl
|
||||||
@ -42,9 +41,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
"--skip=tests::parse_user_authorized_keys"
|
"--skip=tests::parse_user_authorized_keys"
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [ (openssh.override { dsaKeysSupport = true; }) ];
|
||||||
openssh
|
|
||||||
];
|
|
||||||
|
|
||||||
env.USER = "nixbld";
|
env.USER = "nixbld";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user