nixos/tinysparql: Format with nixfmt
As requested by CI.
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
# TinySPARQL daemon.
|
||||
|
||||
{ config, pkgs, lib, ... }:
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
cfg = config.services.gnome.tinysparql;
|
||||
@@ -12,12 +17,33 @@ in
|
||||
};
|
||||
|
||||
imports = [
|
||||
(lib.mkRemovedOptionModule [ "services" "gnome" "tracker" "subcommandPackages" ] ''
|
||||
This option is broken since 3.7 and since 3.8 tracker (tinysparql) no longer expect
|
||||
CLI to be extended by external projects, note that tracker-miners (localsearch) now
|
||||
provides its own CLI tool.
|
||||
'')
|
||||
(lib.mkRenamedOptionModule [ "services" "gnome" "tracker" "enable" ] [ "services" "gnome" "tinysparql" "enable" ])
|
||||
(lib.mkRemovedOptionModule
|
||||
[
|
||||
"services"
|
||||
"gnome"
|
||||
"tracker"
|
||||
"subcommandPackages"
|
||||
]
|
||||
''
|
||||
This option is broken since 3.7 and since 3.8 tracker (tinysparql) no longer expect
|
||||
CLI to be extended by external projects, note that tracker-miners (localsearch) now
|
||||
provides its own CLI tool.
|
||||
''
|
||||
)
|
||||
(lib.mkRenamedOptionModule
|
||||
[
|
||||
"services"
|
||||
"gnome"
|
||||
"tracker"
|
||||
"enable"
|
||||
]
|
||||
[
|
||||
"services"
|
||||
"gnome"
|
||||
"tinysparql"
|
||||
"enable"
|
||||
]
|
||||
)
|
||||
];
|
||||
|
||||
###### interface
|
||||
@@ -39,7 +65,6 @@ in
|
||||
|
||||
};
|
||||
|
||||
|
||||
###### implementation
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
||||
Reference in New Issue
Block a user