top-level: Remove redundant arguments from top-level/{all-package,stdenv}.nix
This commit is contained in:
parent
68a04c1195
commit
eed34bd214
@ -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;
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user