diff options
author | Alexandre Iooss <erdnaxe@crans.org> | 2023-03-03 08:30:17 +0100 |
---|---|---|
committer | Alexandre Iooss <erdnaxe@crans.org> | 2023-03-03 08:30:17 +0100 |
commit | 284e7c020be45c29eaf9e50738a8162b32d7e6d7 (patch) | |
tree | e916a43dac44c96a66ff84f75d2710bd37ff9727 /pkgs/tools/networking/openssh | |
parent | e5cc0358d72a0ad3b82020271783d0fb9f125f46 (diff) | |
download | nixpkgs-284e7c020be45c29eaf9e50738a8162b32d7e6d7.tar nixpkgs-284e7c020be45c29eaf9e50738a8162b32d7e6d7.tar.gz nixpkgs-284e7c020be45c29eaf9e50738a8162b32d7e6d7.tar.bz2 nixpkgs-284e7c020be45c29eaf9e50738a8162b32d7e6d7.tar.lz nixpkgs-284e7c020be45c29eaf9e50738a8162b32d7e6d7.tar.xz nixpkgs-284e7c020be45c29eaf9e50738a8162b32d7e6d7.tar.zst nixpkgs-284e7c020be45c29eaf9e50738a8162b32d7e6d7.zip |
openssh: enable strictDeps
Diffstat (limited to 'pkgs/tools/networking/openssh')
-rw-r--r-- | pkgs/tools/networking/openssh/common.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/tools/networking/openssh/common.nix b/pkgs/tools/networking/openssh/common.nix index c1b2199d0f9..28bcba68a15 100644 --- a/pkgs/tools/networking/openssh/common.nix +++ b/pkgs/tools/networking/openssh/common.nix @@ -52,6 +52,7 @@ stdenv.mkDerivation rec { substituteInPlace Makefile.in --replace '$(INSTALL) -m 4711' '$(INSTALL) -m 0711' ''; + strictDeps = true; nativeBuildInputs = [ pkg-config ] # This is not the same as the libkrb5 from the inputs! pkgs.libkrb5 is # needed here to access krb5-config in order to cross compile. See: @@ -96,7 +97,7 @@ stdenv.mkDerivation rec { doCheck = true; enableParallelChecking = false; - nativeCheckInputs = lib.optional (!stdenv.isDarwin) hostname; + nativeCheckInputs = [ openssl ] ++ lib.optional (!stdenv.isDarwin) hostname; preCheck = lib.optionalString (stdenv.hostPlatform == stdenv.buildPlatform) '' # construct a dummy HOME export HOME=$(realpath ../dummy-home) |