git.iko.soy/typeable/nixpkgs
on master help sign in
resholve: 0.6.6 -> 0.6.8
commit3b83eeb9033e6f400348a87e55ebe48935af9315 authorTravis A. Everett <travis.a.everett@gmail.com> dateThu 11 Nov 2021, 21:10 (5 years ago) parent77e7d79
2 files changed+13−8
pkgs/development/misc/resholve/source.nix+2−2 pkgs/development/misc/resholve/test.nix+11−6
pkgs/development/misc/resholve/source.nix+2−2
@@ -3,7 +3,7 @@
33}:
44
55rec {
6− version = "0.6.6";
6+ version = "0.6.8";
77 rSrc =
88 # local build -> `make ci`; `make clean` to restore
99 # return to remote source
@@ -14,6 +14,6 @@ rec {
1414 owner = "abathur";
1515 repo = "resholve";
1616 rev = "v${version}";
17− hash = "sha256-bupf3c9tNPAEMzFEDcvg483bSiwZFuB3ZqveG89dgkE=";
17+ hash = "sha256-1bb22GcOIzmQ31ULZuNNCJ8Vcz4Y0+qAhsJ9PhbqnDM=";
1818 };
1919}
pkgs/development/misc/resholve/test.nix+11−6
@@ -21,10 +21,17 @@
2121, rSrc
2222, runDemo ? false
2323, binlore
24+, sqlite
25+, util-linux
26+, gawk
27+, rlwrap
28+, gnutar
29+, bc
2430}:
2531
2632let
27−
33+ default_packages = [ bash file findutils gettext ];
34+ parsed_packages = [ coreutils sqlite util-linux gnused gawk findutils rlwrap gnutar bc ];
2835in
2936rec {
3037 re_shunit2 = with shunit2;
@@ -56,9 +63,6 @@ rec {
5663 "/usr/bin/od" = true;
5764 };
5865 keep = {
59− # dynamically defined in shunit2:_shunit_mktempFunc
60− eval = [ "shunit_condition_" "_shunit_test_" "_shunit_prepForSourcing" ];
61−
6266 # variables invoked as commands; long-term goal is to
6367 # resolve the *variable*, but that is complexish, so
6468 # this is where we are...
@@ -166,13 +170,14 @@ rec {
166170 # LOGLEVEL="DEBUG";
167171
168172 # default path
169− RESHOLVE_PATH = "${lib.makeBinPath [ bash file findutils gettext ]}";
173+ RESHOLVE_PATH = "${lib.makeBinPath default_packages}";
170174 # but separate packages for combining as needed
171175 PKG_FILE = "${lib.makeBinPath [ file ]}";
172176 PKG_FINDUTILS = "${lib.makeBinPath [ findutils ]}";
173177 PKG_GETTEXT = "${lib.makeBinPath [ gettext ]}";
174178 PKG_COREUTILS = "${lib.makeBinPath [ coreutils ]}";
175− RESHOLVE_LORE = "${binlore.collect { drvs = [ bash file findutils gettext coreutils ]; } }";
179+ RESHOLVE_LORE = "${binlore.collect { drvs = default_packages ++ [ coreutils ] ++ parsed_packages; } }";
180+ PKG_PARSED = "${lib.makeBinPath parsed_packages}";
176181
177182 # explicit interpreter for demo suite; maybe some better way...
178183 INTERP = "${bash}/bin/bash";