ssh validationPackage is a single value, not a list
This commit is contained in:
parent
cd33f3aaeb
commit
518d5be4f5
1 changed files with 2 additions and 2 deletions
|
@ -9,8 +9,8 @@ let
|
|||
# This middle-ground solution ensures *an* sshd can do their basic validation
|
||||
# on the configuration.
|
||||
validationPackage = if pkgs.stdenv.buildPlatform == pkgs.stdenv.hostPlatform
|
||||
then [ cfgc.package ]
|
||||
else [ pkgs.buildPackages.openssh ];
|
||||
then cfgc.package
|
||||
else pkgs.buildPackages.openssh;
|
||||
|
||||
sshconf = pkgs.runCommand "sshd.conf-validated" { nativeBuildInputs = [ validationPackage ]; } ''
|
||||
cat >$out <<EOL
|
||||
|
|
Loading…
Reference in a new issue