mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-30 22:57:55 +00:00
lib: reformat code
This commit is contained in:
parent
27bfb04da9
commit
5fea0bfcba
@ -1,8 +1,10 @@
|
||||
{ pkgs, lib, self }:
|
||||
|
||||
{
|
||||
makeXDGMimeAssociationList = pkgs.callPackage ./xdg/make-association-list.nix { };
|
||||
makeXDGPortalConfiguration = pkgs.callPackage ./xdg/make-portal-config.nix { };
|
||||
makeXDGMimeAssociationList =
|
||||
pkgs.callPackage ./xdg/make-association-list.nix { };
|
||||
makeXDGPortalConfiguration =
|
||||
pkgs.callPackage ./xdg/make-portal-config.nix { };
|
||||
makeXDGDesktopEntry = pkgs.callPackage ./xdg/make-desktop-entry.nix { };
|
||||
buildHugoSite = pkgs.callPackage ./hugo-build-site { };
|
||||
buildFDSEnv =
|
||||
|
@ -6,19 +6,18 @@
|
||||
# If you have to add those functions, you'll have to add them in configUtils.
|
||||
{ pkgs }:
|
||||
|
||||
let
|
||||
inherit (pkgs) lib;
|
||||
in
|
||||
pkgs.lib.makeExtensible
|
||||
(self:
|
||||
let
|
||||
callLib = file: import file { inherit pkgs lib self; };
|
||||
let inherit (pkgs) lib;
|
||||
in pkgs.lib.makeExtensible (self:
|
||||
let callLib = file: import file { inherit pkgs lib self; };
|
||||
in {
|
||||
builders = callLib ./builders;
|
||||
trivial = callLib ./trivial.nix;
|
||||
data = callLib ./data.nix;
|
||||
math = callLib ./math.nix;
|
||||
|
||||
# For future references, these are the only attributes that are going to be
|
||||
# exported as part of nixpkgs overlay.
|
||||
fetchers = callLib ./fetchers;
|
||||
builders = callLib ./builders;
|
||||
|
||||
# foodogsquared's version of a standard environment. Basically just an
|
||||
# extended version of nixpkgs' version that went overboard with
|
||||
@ -33,6 +32,7 @@ pkgs.lib.makeExtensible
|
||||
pkg-config
|
||||
man-pages
|
||||
man-pages-posix
|
||||
neovim
|
||||
] ++ (import "${pkgs.path}/pkgs/stdenv/generic/common-path.nix" {
|
||||
inherit pkgs;
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user