Merge pull request #314660 from rhelmot/freebsd-minimal3/various-shell

{ed,gzip,gawk,gnugrep}: Add bash to buildInputs
This commit is contained in:
John Ericson
2024-05-27 10:24:25 -04:00
committed by GitHub
4 changed files with 10 additions and 3 deletions
+2
View File
@@ -13,12 +13,14 @@
, stdenv
, fetchurl
, lzip
, runtimeShellPackage
}:
stdenv.mkDerivation {
inherit pname version src patches;
nativeBuildInputs = [ lzip ];
buildInputs = [ runtimeShellPackage ];
configureFlags = [
"CC=${stdenv.cc.targetPrefix}cc"
+2
View File
@@ -2,6 +2,7 @@
, fetchurl
, makeWrapper
, xz
, runtimeShellPackage
}:
# Note: this package is used for bootstrapping fetchurl, and thus
@@ -22,6 +23,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
buildInputs = [ runtimeShellPackage];
nativeBuildInputs = [ xz.bin makeWrapper ];
makeFlags = [
+4 -1
View File
@@ -1,4 +1,5 @@
{ lib, stdenv, fetchurl
, runtimeShellPackage
# TODO: links -lsigsegv but loses the reference for some reason
, withSigsegv ? (false && stdenv.hostPlatform.system != "x86_64-cygwin"), libsigsegv
, interactive ? false, readline
@@ -39,7 +40,9 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoreconfHook ]
++ lib.optional (doCheck && stdenv.isLinux) glibcLocales;
buildInputs = lib.optional withSigsegv libsigsegv
buildInputs = [
runtimeShellPackage
] ++ lib.optional withSigsegv libsigsegv
++ lib.optional interactive readline
++ lib.optional stdenv.isDarwin locale;
+2 -2
View File
@@ -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
# cannot use fetchpatch! All mutable patches (generated by GitHub or
@@ -26,7 +26,7 @@ stdenv.mkDerivation {
nativeCheckInputs = [ perl glibcLocales ];
outputs = [ "out" "info" ]; # the man pages are rather small
buildInputs = [ pcre2 libiconv ];
buildInputs = [ pcre2 libiconv runtimeShellPackage ];
# cygwin: FAIL: multibyte-white-space
# freebsd: FAIL mb-non-UTF8-performance