Skip to content

Commit 7bb552f

Browse files
committed
nixos/magnetico: fix eval
1 parent 18765d0 commit 7bb552f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nixos/modules/services/torrent/magnetico.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ let
1515
credentialsFile
1616
else
1717
pkgs.writeText "magnetico-credentials" (
18-
concatStrings (mapAttrsToList (user: hash: "${user}:${hash}\n") cfg.web.credentials)
18+
lib.concatStrings (lib.mapAttrsToList (user: hash: "${user}:${hash}\n") cfg.web.credentials)
1919
);
2020

2121
# default options in magneticod/main.go
@@ -28,7 +28,7 @@ let
2828

2929
crawlerArgs =
3030
with cfg.crawler;
31-
escapeShellArgs (
31+
lib.escapeShellArgs (
3232
[
3333
"--database=${dbURI}"
3434
"--indexer-addr=${address}:${toString port}"
@@ -40,7 +40,7 @@ let
4040

4141
webArgs =
4242
with cfg.web;
43-
escapeShellArgs (
43+
lib.escapeShellArgs (
4444
[
4545
"--database=${dbURI}"
4646
(

0 commit comments

Comments
 (0)