about summary refs log tree commit diff
path: root/pkgs/profpatsch/execline
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2022-01-05 18:48:51 +0100
committerProfpatsch <mail@profpatsch.de>2022-01-07 15:01:34 +0100
commit80f7b78e56b6e445f4d9126f0700e29fbb77f591 (patch)
treed31d3e7f92cb0ca37479ea78f35193a83f456932 /pkgs/profpatsch/execline
parente2de30b3e9d45747c1fd5b95d0fffda4ea6beaa5 (diff)
pkgs/profpatsch/execline: remove backtick nix abstraction
It’s not worth the indirection.
Diffstat (limited to 'pkgs/profpatsch/execline')
-rw-r--r--pkgs/profpatsch/execline/nixecline.nix16
1 files changed, 0 insertions, 16 deletions
diff --git a/pkgs/profpatsch/execline/nixecline.nix b/pkgs/profpatsch/execline/nixecline.nix
deleted file mode 100644
index 518bce2e..00000000
--- a/pkgs/profpatsch/execline/nixecline.nix
+++ /dev/null
@@ -1,16 +0,0 @@
-# wrappers around execline commands ensuring sane default behaviours
-{ writeExecline }:
-
-let
-  backtick = {
-    var,
-    cmd,
-    importVar ? [ "importas" "-ui" var var ]
-  }: writeExecline "nix-backtick" {}
-    ([ "backtick" "-in" var cmd ]
-    ++ importVar
-    ++ [ "$@" ]);
-
-in {
- inherit backtick;
-}