From 80f7b78e56b6e445f4d9126f0700e29fbb77f591 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Wed, 5 Jan 2022 18:48:51 +0100 Subject: pkgs/profpatsch/execline: remove backtick nix abstraction MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It’s not worth the indirection. --- pkgs/profpatsch/execline/nixecline.nix | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 pkgs/profpatsch/execline/nixecline.nix (limited to 'pkgs/profpatsch/execline') 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; -} -- cgit 1.4.1