top-level: Remove redundant arguments from top-level/{all-package,stdenv}.nix

This commit is contained in:
John Ericson 2016-11-02 17:08:39 -04:00
parent 68a04c1195
commit eed34bd214
3 changed files with 5 additions and 5 deletions

View File

@ -5,9 +5,9 @@
* to merges. Please use the full-text search of your editor. ;) * to merges. Please use the full-text search of your editor. ;)
* Hint: ### starts category names. * Hint: ### starts category names.
*/ */
{ system, bootStdenv, noSysDirs, config, crossSystem, platform, lib { system, noSysDirs, config, crossSystem, platform, lib
, nixpkgsFun , nixpkgsFun
, ... }: }:
self: pkgs: self: pkgs:
with pkgs; with pkgs;

View File

@ -79,12 +79,12 @@ let
stdenvDefault = self: super: stdenvDefault = self: super:
import ./stdenv.nix { import ./stdenv.nix {
inherit system bootStdenv noSysDirs config crossSystem platform lib nixpkgsFun pkgs; inherit system bootStdenv crossSystem config platform lib nixpkgsFun pkgs;
}; };
allPackages = self: super: allPackages = self: super:
let res = import ./all-packages.nix let res = import ./all-packages.nix
{ inherit system bootStdenv noSysDirs config crossSystem platform lib nixpkgsFun; } { inherit system noSysDirs config crossSystem platform lib nixpkgsFun; }
res self; res self;
in res; in res;

View File

@ -1,4 +1,4 @@
{ system, bootStdenv, crossSystem, config, platform, lib, nixpkgsFun, pkgs, ... }: { system, bootStdenv, crossSystem, config, platform, lib, nixpkgsFun, pkgs }:
rec { rec {
allStdenvs = import ../stdenv { allStdenvs = import ../stdenv {