mirror of
https://github.com/thiloho/archtika.git
synced 2025-11-22 02:41:35 +01:00
Use SvelteKit render function for templating and add error page
This commit is contained in:
@@ -32,23 +32,12 @@ let
|
||||
cp -r db/migrations/* $out/rest-api/db/migrations
|
||||
'';
|
||||
};
|
||||
|
||||
templates = stdenv.mkDerivation {
|
||||
inherit pname version;
|
||||
name = "archtika-templates";
|
||||
src = ../templates;
|
||||
installPhase = ''
|
||||
mkdir -p $out/templates
|
||||
cp -r * $out/templates
|
||||
'';
|
||||
};
|
||||
in
|
||||
symlinkJoin {
|
||||
name = pname;
|
||||
paths = [
|
||||
web
|
||||
api
|
||||
templates
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
Reference in New Issue
Block a user