mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
Merge pull request #257358 from Artturin/bashunnecessaryexplici
This commit is contained in:
commit
b6e0319318
@ -2,7 +2,6 @@
|
||||
, stdenv
|
||||
, buildPackages
|
||||
, fetchurl
|
||||
, binutils
|
||||
, bison
|
||||
, util-linux
|
||||
|
||||
@ -95,7 +94,7 @@ stdenv.mkDerivation rec {
|
||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||
nativeBuildInputs = [ bison ]
|
||||
++ lib.optional withDocs texinfo
|
||||
++ lib.optional stdenv.hostPlatform.isDarwin binutils;
|
||||
++ lib.optional stdenv.hostPlatform.isDarwin stdenv.cc.bintools;
|
||||
|
||||
buildInputs = lib.optional interactive readline;
|
||||
|
||||
|
@ -15331,17 +15331,13 @@ with pkgs;
|
||||
|
||||
nix-your-shell = callPackage ../shells/nix-your-shell { };
|
||||
|
||||
bash = lowPrio (callPackage ../shells/bash/5.nix {
|
||||
binutils = stdenv.cc.bintools;
|
||||
});
|
||||
bash = lowPrio (callPackage ../shells/bash/5.nix { });
|
||||
# WARNING: this attribute is used by nix-shell so it shouldn't be removed/renamed
|
||||
bashInteractive = callPackage ../shells/bash/5.nix {
|
||||
binutils = stdenv.cc.bintools;
|
||||
interactive = true;
|
||||
withDocs = true;
|
||||
};
|
||||
bashInteractiveFHS = callPackage ../shells/bash/5.nix {
|
||||
binutils = stdenv.cc.bintools;
|
||||
interactive = true;
|
||||
withDocs = true;
|
||||
forFHSEnv = true;
|
||||
|
Loading…
Reference in New Issue
Block a user