aboutsummaryrefslogtreecommitdiff
path: root/pkgs
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/generate.nix5
-rw-r--r--pkgs/preview.nix1
2 files changed, 5 insertions, 1 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