diff options
author | Profpatsch <mail@profpatsch.de> | 2020-07-03 10:09:58 +0200 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2020-07-06 20:13:42 +0200 |
commit | 310a01f1a2589acb600c91a3cc9d6aca09443d86 (patch) | |
tree | e2eb97276228ceb1973bf47ae5b3a5a3ffdb3233 /pkgs/profpatsch/xdg-open/default.nix | |
parent | ed467ec6b71902559b224d0a1ad6d6ac8c8d4eb2 (diff) |
pkgs/profpatsch/xdg-open/mini-url: envvar instead of substitute
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.
Diffstat (limited to 'pkgs/profpatsch/xdg-open/default.nix')
-rw-r--r-- | pkgs/profpatsch/xdg-open/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
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; |