From 3b83eeb9033e6f400348a87e55ebe48935af9315 Mon Sep 17 00:00:00 2001 From: "Travis A. Everett" Date: Thu, 11 Nov 2021 21:10:45 -0600 Subject: [PATCH] resholve: 0.6.6 -> 0.6.8 --- pkgs/development/misc/resholve/source.nix | 4 ++-- pkgs/development/misc/resholve/test.nix | 17 +++++++++++------ 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/pkgs/development/misc/resholve/source.nix b/pkgs/development/misc/resholve/source.nix index 5633e90f4bb0..046f9ffe24f8 100644 --- a/pkgs/development/misc/resholve/source.nix +++ b/pkgs/development/misc/resholve/source.nix @@ -3,7 +3,7 @@ }: rec { - version = "0.6.6"; + version = "0.6.8"; rSrc = # local build -> `make ci`; `make clean` to restore # return to remote source @@ -14,6 +14,6 @@ rec { owner = "abathur"; repo = "resholve"; rev = "v${version}"; - hash = "sha256-bupf3c9tNPAEMzFEDcvg483bSiwZFuB3ZqveG89dgkE="; + hash = "sha256-1bb22GcOIzmQ31ULZuNNCJ8Vcz4Y0+qAhsJ9PhbqnDM="; }; } diff --git a/pkgs/development/misc/resholve/test.nix b/pkgs/development/misc/resholve/test.nix index dd847462420b..2c17cf2ea038 100644 --- a/pkgs/development/misc/resholve/test.nix +++ b/pkgs/development/misc/resholve/test.nix @@ -21,10 +21,17 @@ , rSrc , runDemo ? false , binlore +, sqlite +, util-linux +, gawk +, rlwrap +, gnutar +, bc }: let - + default_packages = [ bash file findutils gettext ]; + parsed_packages = [ coreutils sqlite util-linux gnused gawk findutils rlwrap gnutar bc ]; in rec { re_shunit2 = with shunit2; @@ -56,9 +63,6 @@ rec { "/usr/bin/od" = true; }; keep = { - # dynamically defined in shunit2:_shunit_mktempFunc - eval = [ "shunit_condition_" "_shunit_test_" "_shunit_prepForSourcing" ]; - # variables invoked as commands; long-term goal is to # resolve the *variable*, but that is complexish, so # this is where we are... @@ -166,13 +170,14 @@ rec { # LOGLEVEL="DEBUG"; # default path - RESHOLVE_PATH = "${lib.makeBinPath [ bash file findutils gettext ]}"; + RESHOLVE_PATH = "${lib.makeBinPath default_packages}"; # but separate packages for combining as needed PKG_FILE = "${lib.makeBinPath [ file ]}"; PKG_FINDUTILS = "${lib.makeBinPath [ findutils ]}"; PKG_GETTEXT = "${lib.makeBinPath [ gettext ]}"; PKG_COREUTILS = "${lib.makeBinPath [ coreutils ]}"; - RESHOLVE_LORE = "${binlore.collect { drvs = [ bash file findutils gettext coreutils ]; } }"; + RESHOLVE_LORE = "${binlore.collect { drvs = default_packages ++ [ coreutils ] ++ parsed_packages; } }"; + PKG_PARSED = "${lib.makeBinPath parsed_packages}"; # explicit interpreter for demo suite; maybe some better way... INTERP = "${bash}/bin/bash";