Compare commits

..

No commits in common. "1c38b53ae265694697c54a8ace5d5a4e05f93d42" and "ad67e6a215ff1b5a2cc648aa385277bee9a200a6" have entirely different histories.

14 changed files with 0 additions and 78 deletions

View file

@ -1,25 +0,0 @@
{
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1731890469,
"narHash": "sha256-D1FNZ70NmQEwNxpSSdTXCSklBH1z2isPR84J6DQrJGs=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "5083ec887760adfe12af64830a66807423a859a7",
"type": "github"
},
"original": {
"id": "nixpkgs",
"type": "indirect"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}

View file

@ -1,19 +0,0 @@
{
description = "Website";
outputs = { self, nixpkgs }:
let pkgs = nixpkgs.legacyPackages.x86_64-linux;
in {
devShell.x86_64-linux = with pkgs;
mkShell {
nativeBuildInputs = [
imagemagick
just
libavif
libjxl
pandoc
tup
];
};
};
}

View file

@ -1,2 +0,0 @@
/build-default
!/build-default/tup.config

View file

@ -1,9 +0,0 @@
&templates_dir = ./templates
# This doesn't work, cannot find the generated header.txt
# I want to access the variant path for templates/ but $(TUP_VARIANTDIR) will
# follow the current Tupfile and there is no variant "anchor" like &-variables.
!add_header = | &(templates_dir)/<header_group> |> cat &(templates_dir)/header.txt %f &(templates_dir)/footer.txt > %o |> %B.gen.txt
# This works
#!add_header = | &(templates_dir)/<header_group> |> cat %f &(templates_dir)/footer.txt > %o |> %B.gen.txt

View file

@ -1,3 +0,0 @@
include_rules
: a.txt |> !add_header |>

View file

@ -1 +0,0 @@
letter a

View file

@ -1,3 +0,0 @@
include_rules
: b.txt |> !add_header |>

View file

@ -1 +0,0 @@
letter b

View file

@ -1,3 +0,0 @@
include_rules
: c.txt |> !add_header |>

View file

@ -1 +0,0 @@
letter c

View file

@ -1 +0,0 @@
: |> ./generate_header.sh > %o |> header.txt ./<header_group>

View file

@ -1,2 +0,0 @@
--
the end

View file

@ -1,8 +0,0 @@
#!/usr/bin/env bash
set -euo pipefail
cat << EOF
YEAR $(date +%Y)
====
EOF