summaryrefslogtreecommitdiff
path: root/isabat.nix
diff options
context:
space:
mode:
authorstuebinm2021-09-04 16:30:19 +0200
committerstuebinm2021-09-04 16:30:19 +0200
commitcf10164ccc1f937ce059acbb2b426a2beb1ffdd0 (patch)
tree927279976a6f0e9566469b7e075cb389fc1f8ba3 /isabat.nix
parent531dc149df8c1ba62ee7875f819a94d789935385 (diff)
add some sanity checks to isabat
(will now print errors if bat/the highlighter theme is missing)
Diffstat (limited to 'isabat.nix')
-rw-r--r--isabat.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/isabat.nix b/isabat.nix
index 7fc05f2..de6ce6f 100644
--- a/isabat.nix
+++ b/isabat.nix
@@ -17,6 +17,8 @@ stdenv.mkDerivation {
cp $src isabat
substituteInPlace isabat \
--replace isabelle2unicode "${isabelle-unicode}/bin/isabelle2unicode"
+ substituteInPlace isabat \
+ --replace " bat " " ${pkgs.bat}/bin/bat "
cp isabat $out
'';
}