aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pkgs/generate.nix5
-rw-r--r--pkgs/preview.nix1
-rw-r--r--source/00_content/meta.xml2
3 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/generate.nix b/pkgs/generate.nix
index bb7d45a..25f1ca1 100644
--- a/pkgs/generate.nix
+++ b/pkgs/generate.nix
@@ -6,4 +6,7 @@ let
BuildXSLT = pkgs.callPackage ./BuildXSLT.nix {};
in pkgs.writeScriptBin
"generate"
- "${InputXSLT}/bin/ixslt --input make.xml --transformation ${BuildXSLT}/build.xsl --include ${StaticXSLT}/"
+ ''
+ #!/bin/sh
+ ${InputXSLT}/bin/ixslt --input make.xml --transformation ${BuildXSLT}/build.xsl --include ${StaticXSLT}/
+ ''
diff --git a/pkgs/preview.nix b/pkgs/preview.nix
index 7162838..352de43 100644
--- a/pkgs/preview.nix
+++ b/pkgs/preview.nix
@@ -3,6 +3,7 @@
pkgs.writeScriptBin
"preview"
''
+ #!/bin/sh
pushd target/99_result
${pkgs.python3}/bin/python -m http.server 8080
popd
diff --git a/source/00_content/meta.xml b/source/00_content/meta.xml
index 8741edc..159ed2b 100644
--- a/source/00_content/meta.xml
+++ b/source/00_content/meta.xml
@@ -2,5 +2,5 @@
<meta>
<title>/home/adrian</title>
<author>Adrian Kummerländer</author>
- <url>http://localhost:8000</url>
+ <url>http://localhost:8080</url>
</meta>