about summary refs log tree commit diff
path: root/pkgs/sternenseemann/scripts
diff options
context:
space:
mode:
authorsternenseemann <sternenseemann@systemli.org>2022-11-28 18:28:51 +0100
committersternenseemann <sternenseemann@systemli.org>2022-11-28 18:30:15 +0100
commit32b8af8c826fb7be143e692d3f13b9572841d318 (patch)
tree48fa5f96b082a3a2bcceac23cc4daf32fd06292d /pkgs/sternenseemann/scripts
parent059d086311514de38002c5bc083cddaae8e20e79 (diff)
pkgs/sternenseemann: remove everything shakti
Since shakti's k9 is no longer available for download, this is quite
nonsensical to keep around. When it becomes available again, I'll be
better off downloading it and saving it locally somewhere. Nixified
shakti will just end up being garbage collected…

The k-gpp idea wasn't bad, but not great either.
Diffstat (limited to 'pkgs/sternenseemann/scripts')
-rw-r--r--pkgs/sternenseemann/scripts/default.nix25
1 files changed, 1 insertions, 24 deletions
diff --git a/pkgs/sternenseemann/scripts/default.nix b/pkgs/sternenseemann/scripts/default.nix
index 010bd6cd..35e2cf70 100644
--- a/pkgs/sternenseemann/scripts/default.nix
+++ b/pkgs/sternenseemann/scripts/default.nix
@@ -5,7 +5,6 @@
 , ghostscript
 , openssl
 , perl, mandoc
-, shakti
 , gpp
 }:
 
@@ -32,10 +31,7 @@ let
     /home/lukas/files/serverkram/minecraft/
   '';
 
-  bins = (getBins shakti [ "k-repl" ])
-      // (getBins gpp [ "gpp" ])
-      // (getBins perl [ "perl" ])
-      // (getBins cryptsetup [ "cryptsetup" ])
+  bins = (getBins cryptsetup [ "cryptsetup" ])
       // (getBins borgbackup [ "borg" ])
       // (getBins mandoc [ "man" ])
       // (getBins openssl [ "openssl" ])
@@ -197,23 +193,4 @@ lib.fix (self: {
       printf '\a'
     fi
   '';
-
-  k-gpp = writeBashBin "k-gpp" ''
-    if [[ $# > 1 ]]; then
-      echo "$0: max one argument allowed" >&2
-      exit 1
-    fi
-
-    if [[ ! -z "$1" ]]; then
-      preprocessed="$(mktemp --suffix=".k")"
-      echo "gpp $1 -o $preprocessed" >&2
-      ${bins.gpp} "$1" -o "$preprocessed"
-      ${bins.k-repl} "$preprocessed"
-      status=$?
-      rm "$preprocessed"
-      exit $status
-    else
-      ${bins.k-repl}
-    fi
-  '';
 })