about summary refs log tree commit diff
path: root/machines
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2021-01-01 12:27:20 +0100
committerProfpatsch <mail@profpatsch.de>2021-01-01 12:27:20 +0100
commitb5015b5865d8e8f8b64f99746a571b708e9b776f (patch)
tree55087666a194b810f8848ba539118f6354092cd9 /machines
parent47a8bf4dd2cb1f6778b38bc2f4990ba72366d5a9 (diff)
pkgs/profpatsch: add nix-run
Small tool which takes a block of nix options that should produce a
script to run, and then calls the script with the rest of argv

    e nix-run { -A foobar } a b c

calls `nix-build -A foobar && ./result a b c`.
Diffstat (limited to 'machines')
-rw-r--r--machines/profpatsch/shiki.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/machines/profpatsch/shiki.nix b/machines/profpatsch/shiki.nix
index 3fc11089..9175ec23 100644
--- a/machines/profpatsch/shiki.nix
+++ b/machines/profpatsch/shiki.nix
@@ -259,6 +259,10 @@ in {
           exe = pkgs.vuizvui.profpatsch.e;
           name = "e";
         })
+        (pkgs.vuizvui.profpatsch.binify {
+          exe = pkgs.vuizvui.profpatsch.nix-run;
+          name = "nix-run";
+        })
         myPkgs.zoomboxed
       ];
     in systemPkgs ++ xPkgs ++ guiPkgs