From 6cc6d2ebce7bc0223a2580c70495b59fd1580973 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9C=E5=9D=82=E9=9B=85?= <23130178+ShadowRZ@users.noreply.github.com> Date: Thu, 5 Dec 2024 16:27:07 +0800 Subject: [PATCH] nixos/pykms: Fix eval --- nixos/modules/services/misc/pykms.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/misc/pykms.nix b/nixos/modules/services/misc/pykms.nix index 5bdb0bd52c0f1..19985229f548c 100644 --- a/nixos/modules/services/misc/pykms.nix +++ b/nixos/modules/services/misc/pykms.nix @@ -69,9 +69,9 @@ in serviceConfig = with pkgs; { DynamicUser = true; StateDirectory = baseNameOf libDir; - ExecStartPre = "${getBin pykms}/libexec/create_pykms_db.sh ${libDir}/clients.db"; + ExecStartPre = "${lib.getBin pykms}/libexec/create_pykms_db.sh ${libDir}/clients.db"; ExecStart = lib.concatStringsSep " " ([ - "${getBin pykms}/bin/server" + "${lib.getBin pykms}/bin/server" "--logfile=STDOUT" "--loglevel=${cfg.logLevel}" "--sqlite=${libDir}/clients.db"