mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
fix: names
This commit is contained in:
@@ -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}
|
||||
'';
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user