aboutsummaryrefslogtreecommitdiff
path: root/pkgs/generate.nix
blob: 25f1ca1fea2cc939304a15db2f16bee4eb07ea24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{ pkgs, ... }:

let
  InputXSLT  = pkgs.callPackage ./InputXSLT.nix {};
  StaticXSLT = pkgs.callPackage ./StaticXSLT.nix {};
  BuildXSLT  = pkgs.callPackage ./BuildXSLT.nix {};
in pkgs.writeScriptBin
  "generate"
  ''
    #!/bin/sh
    ${InputXSLT}/bin/ixslt --input make.xml --transformation ${BuildXSLT}/build.xsl --include ${StaticXSLT}/
  ''