writeShellApplication: get shellcheck from pkgsBuildHost

This commit is contained in:
Bernardo Meurer 2021-10-12 12:53:02 -07:00
parent 0e4f04b74c
commit 21c299f077
No known key found for this signature in database
GPG key ID: F4C0D53B8D14C246
2 changed files with 5 additions and 3 deletions

View file

@ -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}
'';

View file

@ -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;
};