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