mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 14:10:33 +03:00
nixos/magnetico: fix eval
This commit is contained in:
parent
18765d044a
commit
7bb552f178
1 changed files with 3 additions and 3 deletions
|
@ -15,7 +15,7 @@ let
|
|||
credentialsFile
|
||||
else
|
||||
pkgs.writeText "magnetico-credentials" (
|
||||
concatStrings (mapAttrsToList (user: hash: "${user}:${hash}\n") cfg.web.credentials)
|
||||
lib.concatStrings (lib.mapAttrsToList (user: hash: "${user}:${hash}\n") cfg.web.credentials)
|
||||
);
|
||||
|
||||
# default options in magneticod/main.go
|
||||
|
@ -28,7 +28,7 @@ let
|
|||
|
||||
crawlerArgs =
|
||||
with cfg.crawler;
|
||||
escapeShellArgs (
|
||||
lib.escapeShellArgs (
|
||||
[
|
||||
"--database=${dbURI}"
|
||||
"--indexer-addr=${address}:${toString port}"
|
||||
|
@ -40,7 +40,7 @@ let
|
|||
|
||||
webArgs =
|
||||
with cfg.web;
|
||||
escapeShellArgs (
|
||||
lib.escapeShellArgs (
|
||||
[
|
||||
"--database=${dbURI}"
|
||||
(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue