1
0
mirror of https://github.com/kmein/niveum synced 2026-03-21 12:21:08 +01:00

fix: names

This commit is contained in:
2022-01-04 22:00:57 +01:00
parent bee1389d7f
commit 7c42be3475

View File

@@ -1,7 +1,8 @@
{ pkgs, lib, ... }: { pkgs, lib, ... }:
let let
port = 5703; port = 5703;
geogen = pkgs.callPackage "${<scripts>}/onomastics" {}; geogen-src = "${<scripts>}/onomastics";
geogen = pkgs.callPackage geogen-src {};
in in
{ {
systemd.services.names = { systemd.services.names = {
@@ -13,7 +14,7 @@ in
}; };
script = '' script = ''
cd $(mktemp -d) cd $(mktemp -d)
ln -s "${geogen}/wsgi.py" wsgi.py ln -s "${geogen-src}/wsgi.py" wsgi.py
${geogen.dependencyEnv}/bin/gunicorn wsgi:app -b :${toString port} ${geogen.dependencyEnv}/bin/gunicorn wsgi:app -b :${toString port}
''; '';
}; };