From 53980bc3f27d125e5e010545436d96111e881d54 Mon Sep 17 00:00:00 2001 From: Michael Eden Date: Thu, 4 Apr 2019 13:31:51 -0400 Subject: [PATCH] writeShellScriptBin: use build-time shell in check phase (cherry picked from commit 53b0027fb47655251d167a4162af249a9d87dd63) --- pkgs/build-support/trivial-builders.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/build-support/trivial-builders.nix b/pkgs/build-support/trivial-builders.nix index 58bc7147ede44..ab83b73c54554 100644 --- a/pkgs/build-support/trivial-builders.nix +++ b/pkgs/build-support/trivial-builders.nix @@ -149,7 +149,7 @@ rec { ${text} ''; checkPhase = '' - ${runtimeShell} -n $out/bin/${name} + ${stdenv.shell} -n $out/bin/${name} ''; };