about summary refs log tree commit diff
path: root/pkgs/sternenseemann/scripts/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/sternenseemann/scripts/default.nix')
-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
-  '';
 })