diff options
author | Travis A. Everett <travis.a.everett@gmail.com> | 2021-09-30 18:48:58 -0500 |
---|---|---|
committer | Travis A. Everett <travis.a.everett@gmail.com> | 2021-09-30 18:54:09 -0500 |
commit | a9454f539b02b99d4192ff9964050368bda5e13f (patch) | |
tree | b221e83bfa2261d39de8da1ff9c9ea0d83a3d096 /pkgs/development/misc | |
parent | 9a23237031b385945132c8dac7d7ad97ece67408 (diff) |
resholve: actually import resholveScript*
Diffstat (limited to 'pkgs/development/misc')
-rw-r--r-- | pkgs/development/misc/resholve/test.nix | 31 |
1 files changed, 2 insertions, 29 deletions
diff --git a/pkgs/development/misc/resholve/test.nix b/pkgs/development/misc/resholve/test.nix index ca8a51c705d62..dd847462420bc 100644 --- a/pkgs/development/misc/resholve/test.nix +++ b/pkgs/development/misc/resholve/test.nix @@ -3,6 +3,8 @@ , callPackage , resholve , resholvePackage +, resholveScript +, resholveScriptBin , shunit2 , coreutils , gnused @@ -22,35 +24,6 @@ }: let - inherit (callPackage ./default.nix { }) - resholve resholvePackage resholveScript resholveScriptBin; - - # ourCoreutils = coreutils.override { singleBinary = false; }; - - /* - TODO: wrapped copy of find so that we can eventually test - our ability to see through wrappers. Unused for now. - Note: grep can serve the negative case; grep doesn't match, and - egrep is a shell wrapper for grep. - */ - # wrapfind = runCommand "wrapped-find" { } '' - # source ${makeWrapper}/nix-support/setup-hook - # makeWrapper ${findutils}/bin/find $out/bin/wrapped-find - # ''; - /* TODO: - unrelated, but is there already a function (or would - there be demand for one?) along the lines of: - wrap = { drv, executable(s?), args ? { } }: that: - - generates a sane output name - - sources makewrapper - - retargets real executable if already wrapped - - wraps the executable - - I wonder because my first thought here was overrideAttrs, - but I realized rebuilding just for a custom wrapper is an - ongoing waste of time. If it is a common pattern in the - wild, it would be a nice QoL improvement. - */ in rec { |