Skip to content

Commit

Permalink
Merge pull request #16415 from Ericson2314/gccWith
Browse files Browse the repository at this point in the history
Remove gccWith* arguments which are unused
  • Loading branch information
zimbatm committed Jun 22, 2016
2 parents 7c6969f + 351352f commit 926ec0a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
8 changes: 3 additions & 5 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{ system, bootStdenv, noSysDirs, gccWithCC, gccWithProfiling
, config, crossSystem, platform, lib
{ system, bootStdenv, noSysDirs, config, crossSystem, platform, lib
, pkgsWithOverrides
, ... }:
self: pkgs:
Expand Down Expand Up @@ -46,8 +45,7 @@ in
forceSystem = system: kernel: (import ../..) {
inherit system;
platform = platform // { kernelArch = kernel; };
inherit bootStdenv noSysDirs gccWithCC gccWithProfiling config
crossSystem;
inherit bootStdenv noSysDirs config crossSystem;
};

# Used by wine, firefox with debugging version of Flash, ...
Expand Down Expand Up @@ -3977,7 +3975,7 @@ in
let
pkgsCross = (import ../..) {
inherit system;
inherit bootStdenv noSysDirs gccWithCC gccWithProfiling config;
inherit bootStdenv noSysDirs config;
# Ben Nanonote system
crossSystem = {
config = "mipsel-unknown-linux";
Expand Down
7 changes: 1 addition & 6 deletions pkgs/top-level/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@
&& system != "x86_64-solaris"
&& system != "x86_64-kfreebsd-gnu")

# More flags for the bootstrapping of stdenv.
, gccWithCC ? true
, gccWithProfiling ? true

, # Allow a configuration attribute set to be passed in as an
# argument. Otherwise, it's read from $NIXPKGS_CONFIG or
# ~/.nixpkgs/config.nix.
Expand Down Expand Up @@ -81,8 +77,7 @@ let
else config.platform or platformAuto;

topLevelArguments = {
inherit system bootStdenv noSysDirs gccWithCC gccWithProfiling config
crossSystem platform lib;
inherit system bootStdenv noSysDirs config crossSystem platform lib;
};

# Allow packages to be overridden globally via the `packageOverrides'
Expand Down

0 comments on commit 926ec0a

Please sign in to comment.