From 310a01f1a2589acb600c91a3cc9d6aca09443d86 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Fri, 3 Jul 2020 10:09:58 +0200 Subject: pkgs/profpatsch/xdg-open/mini-url: envvar instead of substitute MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It’s a lot simpler to just export the parsed attribute as envvars. Remove the substitute stuff (it already went into the el_substitute lib anyway) and replace the xpathexec0 code with the function from the el_exec lib. --- pkgs/profpatsch/xdg-open/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pkgs/profpatsch/xdg-open/default.nix') diff --git a/pkgs/profpatsch/xdg-open/default.nix b/pkgs/profpatsch/xdg-open/default.nix index 3dc85fbb..a4aaff97 100644 --- a/pkgs/profpatsch/xdg-open/default.nix +++ b/pkgs/profpatsch/xdg-open/default.nix @@ -1,4 +1,4 @@ -{ pkgs, getBins, importDhall2, writeExecline, dhall, buildDhallPackage, writeRustSimple, rust-deps }: +{ pkgs, getBins, importDhall2, writeExecline, dhall, buildDhallPackage, writeRustSimple, el-exec }: let lib = pkgs.lib; @@ -123,8 +123,8 @@ let }; mini-url = writeRustSimple "mini-url" { - dependencies = [ rust-deps.libc rust-deps.errno ]; - buildInputs = [ pkgs.skalibs pkgs.execline ]; + dependencies = [ el-exec ]; + buildInputs = [ pkgs.skalibs ]; release = false; # buildTests = true; verbose = true; -- cgit 1.4.1