mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-31 06:31:20 +00:00
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 {
|
||||
|
||||
@ -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 New Issue
Block a user