Merge pull request #314660 from rhelmot/freebsd-minimal3/various-shell
{ed,gzip,gawk,gnugrep}: Add bash to buildInputs
This commit is contained in:
commit
80ff741fbd
@ -13,12 +13,14 @@
|
|||||||
, stdenv
|
, stdenv
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, lzip
|
, lzip
|
||||||
|
, runtimeShellPackage
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
inherit pname version src patches;
|
inherit pname version src patches;
|
||||||
|
|
||||||
nativeBuildInputs = [ lzip ];
|
nativeBuildInputs = [ lzip ];
|
||||||
|
buildInputs = [ runtimeShellPackage ];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"CC=${stdenv.cc.targetPrefix}cc"
|
"CC=${stdenv.cc.targetPrefix}cc"
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
, fetchurl
|
, fetchurl
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, xz
|
, xz
|
||||||
|
, runtimeShellPackage
|
||||||
}:
|
}:
|
||||||
|
|
||||||
# Note: this package is used for bootstrapping fetchurl, and thus
|
# Note: this package is used for bootstrapping fetchurl, and thus
|
||||||
@ -22,6 +23,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
buildInputs = [ runtimeShellPackage];
|
||||||
nativeBuildInputs = [ xz.bin makeWrapper ];
|
nativeBuildInputs = [ xz.bin makeWrapper ];
|
||||||
|
|
||||||
makeFlags = [
|
makeFlags = [
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
{ lib, stdenv, fetchurl
|
{ lib, stdenv, fetchurl
|
||||||
|
, runtimeShellPackage
|
||||||
# TODO: links -lsigsegv but loses the reference for some reason
|
# TODO: links -lsigsegv but loses the reference for some reason
|
||||||
, withSigsegv ? (false && stdenv.hostPlatform.system != "x86_64-cygwin"), libsigsegv
|
, withSigsegv ? (false && stdenv.hostPlatform.system != "x86_64-cygwin"), libsigsegv
|
||||||
, interactive ? false, readline
|
, interactive ? false, readline
|
||||||
@ -39,7 +40,9 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [ autoreconfHook ]
|
nativeBuildInputs = [ autoreconfHook ]
|
||||||
++ lib.optional (doCheck && stdenv.isLinux) glibcLocales;
|
++ lib.optional (doCheck && stdenv.isLinux) glibcLocales;
|
||||||
|
|
||||||
buildInputs = lib.optional withSigsegv libsigsegv
|
buildInputs = [
|
||||||
|
runtimeShellPackage
|
||||||
|
] ++ lib.optional withSigsegv libsigsegv
|
||||||
++ lib.optional interactive readline
|
++ lib.optional interactive readline
|
||||||
++ lib.optional stdenv.isDarwin locale;
|
++ lib.optional stdenv.isDarwin locale;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ lib, stdenv, glibcLocales, fetchurl, pcre2, libiconv, perl }:
|
{ lib, stdenv, glibcLocales, fetchurl, pcre2, libiconv, perl, runtimeShellPackage }:
|
||||||
|
|
||||||
# Note: this package is used for bootstrapping fetchurl, and thus
|
# Note: this package is used for bootstrapping fetchurl, and thus
|
||||||
# cannot use fetchpatch! All mutable patches (generated by GitHub or
|
# cannot use fetchpatch! All mutable patches (generated by GitHub or
|
||||||
@ -26,7 +26,7 @@ stdenv.mkDerivation {
|
|||||||
nativeCheckInputs = [ perl glibcLocales ];
|
nativeCheckInputs = [ perl glibcLocales ];
|
||||||
outputs = [ "out" "info" ]; # the man pages are rather small
|
outputs = [ "out" "info" ]; # the man pages are rather small
|
||||||
|
|
||||||
buildInputs = [ pcre2 libiconv ];
|
buildInputs = [ pcre2 libiconv runtimeShellPackage ];
|
||||||
|
|
||||||
# cygwin: FAIL: multibyte-white-space
|
# cygwin: FAIL: multibyte-white-space
|
||||||
# freebsd: FAIL mb-non-UTF8-performance
|
# freebsd: FAIL mb-non-UTF8-performance
|
||||||
|
Loading…
Reference in New Issue
Block a user