mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-12 05:16:25 +03:00
Fix NixOS evaluation on i686-linux
This commit is contained in:
parent
926514868c
commit
4668f37444
1 changed files with 2 additions and 1 deletions
|
@ -99,7 +99,6 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
subsystems = mkOption {
|
subsystems = mkOption {
|
||||||
default = [ ["sftp" "${pkgs.lsh}/sbin/sftp-server"] ];
|
|
||||||
description = ''
|
description = ''
|
||||||
List of subsystem-path pairs, where the head of the pair
|
List of subsystem-path pairs, where the head of the pair
|
||||||
denotes the subsystem name, and the tail denotes the path to
|
denotes the subsystem name, and the tail denotes the path to
|
||||||
|
@ -116,6 +115,8 @@ in
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|
||||||
|
services.lshd.subsystems = [ ["sftp" "${pkgs.lsh}/sbin/sftp-server"] ];
|
||||||
|
|
||||||
jobs.lshd =
|
jobs.lshd =
|
||||||
{ description = "GNU lshd SSH2 daemon";
|
{ description = "GNU lshd SSH2 daemon";
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue