git.iko.soy/typeable/nixpkgs
on master help sign in
Small changes in response to review.
commit0641253ae66d748b5ff0562c4edba3f9502a38e3 authorJudson <nyarly@gmail.com> dateSun 2 Jul 2017, 17:18 (9 years ago) parente149f02
3 files changed+3−3
pkgs/development/ruby-modules/bundled-common/default.nix+1−1 pkgs/development/ruby-modules/runtests.sh+1−1 pkgs/development/ruby-modules/testing/tap-support.nix+1−1
pkgs/development/ruby-modules/bundled-common/default.nix+1−1
@@ -140,7 +140,7 @@ let
140140 name = "${pname}-interactive-environment";
141141 nativeBuildInputs = [ wrappedRuby basicEnv ];
142142 shellHook = ''
143− export OLD_IRBRC="$IRBRC"
143+ export OLD_IRBRC=$IRBRC
144144 export IRBRC=${irbrc}
145145 '';
146146 buildCommand = ''
pkgs/development/ruby-modules/runtests.sh+1−1
@@ -1,6 +1,6 @@
11#!/usr/bin/env bash
22set -o xtrace
3−pwd
3+cd $(dirname $0)
44find . -name text.nix
55testfiles=$(find . -name test.nix)
66nix-build -E "with import <nixpkgs> {}; callPackage testing/driver.nix { testFiles = [ $testfiles ]; }" --show-trace && cat result
pkgs/development/ruby-modules/testing/tap-support.nix+1−1
@@ -5,8 +5,8 @@ let
55 testLine = report: "${okStr report} ${toString (report.index + 1)} ${report.description}" + testDirective report + testYaml report;
66
77 # These are part of the TAP spec, not yet implemented.
8+ #c.f. https://github.com/NixOS/nixpkgs/issues/27071
89 testDirective = report: "";
9−
1010 testYaml = report: "";
1111
1212 okStr = { result, ...}: if result == "pass" then "ok" else "not ok";