summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authoruakci <git@uakci.space>2022-11-09 14:55:12 +0100
committeruakci <git@uakci.space>2022-11-09 14:55:12 +0100
commitf163998a25c8b5ef8e84c3fe96aa2697f404bc79 (patch)
tree8c628e2a4c100a7e7f311d3b79b2973d34682e46 /flake.nix
parentrevert this (diff)
downloadnuogai-f163998a25c8b5ef8e84c3fe96aa2697f404bc79.tar.gz
nuogai-f163998a25c8b5ef8e84c3fe96aa2697f404bc79.zip
up zugai; add handling for supplement
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index 29fbb05..48a4bd7 100644
--- a/flake.nix
+++ b/flake.nix
@@ -26,7 +26,10 @@
mkdir -p $out/bin
tee >$out/bin/expand-serial <<EOF
#!/bin/sh
- ${pkgs.python3}/bin/python ${zugai}/src/expand_serial.py ${toaq-dictionary}/dictionary.json \$@
+ ${pkgs.python3}/bin/python ${zugai}/src/expand_serial.py \
+ -d ${toaq-dictionary}/dictionary.json \
+ -d ${zugai}/data/supplement.json \
+ -- "\$@"
EOF
chmod +x $out/bin/expand-serial
'';