nix: use common formatting on inherit keyword.

This commit is contained in:
Marcin Kuzminski 2018-10-24 11:39:52 +02:00
parent 90b73cd56f
commit d943065038
2 changed files with 18 additions and 5 deletions

View file

@ -62,7 +62,11 @@ let
sources =
let
inherit (pkgs.lib) all isString attrValues;
inherit
(pkgs.lib)
all
isString
attrValues;
sourcesConfig = pkgs.config.rc.sources or {};
in
# Ensure that sources are configured as strings. Using a path
@ -75,7 +79,8 @@ let
buildBowerComponents = pkgs.buildBowerComponents;
nodeEnv = import ./pkgs/node-default.nix {
inherit pkgs;
inherit
pkgs;
};
nodeDependencies = nodeEnv.shell.nodeDependencies;
@ -261,8 +266,13 @@ let
getAttr pythonPackages pkgs;
pythonGeneratedPackages = import ./pkgs/python-packages.nix {
inherit pkgs;
inherit (pkgs) fetchurl fetchgit fetchhg;
inherit
pkgs;
inherit
(pkgs)
fetchurl
fetchgit
fetchhg;
};
pythonCommunityOverrides = import ./pkgs/python-packages-overrides.nix {