1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11: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, ... }:
let
port = 5703;
geogen = pkgs.callPackage "${<scripts>}/onomastics" {};
geogen-src = "${<scripts>}/onomastics";
geogen = pkgs.callPackage geogen-src {};
in
{
systemd.services.names = {
@@ -13,7 +14,7 @@ in
};
script = ''
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}
'';
};