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