Merge pull request #140099 from abathur/resholve_script

resholve: actually include resholveScript* in all-packages.nix
This commit is contained in:
Kevin Cox 2021-09-30 20:16:39 -04:00 committed by GitHub
commit 0b24197f53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 30 deletions

View File

@ -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 {

View File

@ -8767,7 +8767,7 @@ with pkgs;
rescuetime = libsForQt5.callPackage ../applications/misc/rescuetime { };
inherit (callPackage ../development/misc/resholve { })
resholve resholvePackage;
resholve resholvePackage resholveScript resholveScriptBin;
restool = callPackage ../os-specific/linux/restool {};