summaryrefslogtreecommitdiff
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
parentrevert this (diff)
downloadnuogai-f163998a25c8b5ef8e84c3fe96aa2697f404bc79.tar.gz
nuogai-f163998a25c8b5ef8e84c3fe96aa2697f404bc79.zip
up zugai; add handling for supplement
-rw-r--r--flake.lock6
-rw-r--r--flake.nix5
2 files changed, 7 insertions, 4 deletions
diff --git a/flake.lock b/flake.lock
index 5bee353..7ad8567 100644
--- a/flake.lock
+++ b/flake.lock
@@ -110,11 +110,11 @@
"zugai": {
"flake": false,
"locked": {
- "lastModified": 1667776834,
- "narHash": "sha256-RATF7x6V2a1IKZGAU6NcM0KrKFL4MgGu4Jas/d/IWFQ=",
+ "lastModified": 1668001766,
+ "narHash": "sha256-dzyKmChiysTxx2Jf5x00KQTt2DFPTbzndDOt3TROEnI=",
"owner": "toaq",
"repo": "zugai",
- "rev": "38646646b34bb72d1ef01c8d37fcab3d238c5f0b",
+ "rev": "8d6658ba6e3698b394de98162586e6baa1ea1611",
"type": "github"
},
"original": {
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
'';