From cb593780f3b0d7de4a72346dca208de9df348379 Mon Sep 17 00:00:00 2001 From: Nikita Uvarov Date: Fri, 6 Oct 2017 10:55:36 +0200 Subject: [PATCH] trivial-builders.nix: fix writeShellScriptBin The check should be performed on the target shell script, not on the output directory. --- 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 14553c33e039..32214db65842 100644 --- a/pkgs/build-support/trivial-builders.nix +++ b/pkgs/build-support/trivial-builders.nix @@ -68,7 +68,7 @@ rec { ${text} ''; checkPhase = '' - ${stdenv.shell} -n $out + ${stdenv.shell} -n $out/bin/${name} ''; };