writeShellApplication: get shellcheck from pkgsBuildHost
This commit is contained in:
parent
0e4f04b74c
commit
21c299f077
2 changed files with 5 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, stdenvNoCC, lndir, runtimeShell, makeBinPath, shellcheck }:
|
||||
{ lib, stdenv, stdenvNoCC, lndir, runtimeShell, shellcheck }:
|
||||
|
||||
rec {
|
||||
|
||||
|
@ -282,7 +282,7 @@ rec {
|
|||
set -o nounset
|
||||
set- o pipefail
|
||||
|
||||
export PATH="${makeBinPath runtimeInputs}:$PATH"
|
||||
export PATH="${lib.makeBinPath runtimeInputs}:$PATH"
|
||||
|
||||
${text}
|
||||
'';
|
||||
|
|
|
@ -76,7 +76,9 @@ let
|
|||
|
||||
trivialBuilders = self: super:
|
||||
import ../build-support/trivial-builders.nix {
|
||||
inherit lib; inherit (self) stdenv stdenvNoCC; inherit (self.pkgsBuildHost.xorg) lndir;
|
||||
inherit lib; inherit (self) stdenv stdenvNoCC;
|
||||
inherit (self.pkgsBuildHost) shellcheck;
|
||||
inherit (self.pkgsBuildHost.xorg) lndir;
|
||||
inherit (self) runtimeShell;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue