writeShellApplication: get shellcheck from pkgsBuildHost
This commit is contained in:
parent
0e4f04b74c
commit
21c299f077
@ -1,4 +1,4 @@
|
|||||||
{ lib, stdenv, stdenvNoCC, lndir, runtimeShell, makeBinPath, shellcheck }:
|
{ lib, stdenv, stdenvNoCC, lndir, runtimeShell, shellcheck }:
|
||||||
|
|
||||||
rec {
|
rec {
|
||||||
|
|
||||||
@ -282,7 +282,7 @@ rec {
|
|||||||
set -o nounset
|
set -o nounset
|
||||||
set- o pipefail
|
set- o pipefail
|
||||||
|
|
||||||
export PATH="${makeBinPath runtimeInputs}:$PATH"
|
export PATH="${lib.makeBinPath runtimeInputs}:$PATH"
|
||||||
|
|
||||||
${text}
|
${text}
|
||||||
'';
|
'';
|
||||||
|
@ -76,7 +76,9 @@ let
|
|||||||
|
|
||||||
trivialBuilders = self: super:
|
trivialBuilders = self: super:
|
||||||
import ../build-support/trivial-builders.nix {
|
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;
|
inherit (self) runtimeShell;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user