mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-23 06:19:00 +00:00
lib: add the builders to top-level attrset
This commit is contained in:
parent
3bd5f26e76
commit
2273aa0f7f
@ -1,8 +1,8 @@
|
||||
{ buildEnv, extendedStdenv }:
|
||||
|
||||
{ paths ? [ ], pathsToLink ? [ ], }@args:
|
||||
{ paths ? [ ], pathsToLink ? [ ], ... }@args:
|
||||
|
||||
buildEnv (args // {
|
||||
paths = paths ++ [ extendedStdenv ];
|
||||
pathsToLink = pathsToLink ++ [ "/bin" "/etc" "/share" "/lib" ];
|
||||
paths = extendedStdenv ++ paths;
|
||||
pathsToLink = [ "/bin" "/etc" "/share" "/lib" "/libexec" ] ++ pathsToLink;
|
||||
})
|
||||
|
@ -24,8 +24,8 @@ pkgs.lib.makeExtensible
|
||||
# extended version of nixpkgs' version that went overboard with
|
||||
# developer-oriented dependencies.
|
||||
stdenv = with pkgs;
|
||||
[ stdenv direnv cookiecutter oils-for-unix nushell ipcalc ]
|
||||
++ lib.optional pkgs.isLinux [
|
||||
[ direnv cookiecutter oils-for-unix nushell ipcalc ]
|
||||
++ lib.optional stdenv.isLinux [
|
||||
gdb
|
||||
moreutils
|
||||
meson
|
||||
@ -33,10 +33,13 @@ pkgs.lib.makeExtensible
|
||||
pkg-config
|
||||
man-pages
|
||||
man-pages-posix
|
||||
];
|
||||
] ++ (import "${pkgs.path}/pkgs/stdenv/generic/common-path.nix" {
|
||||
inherit pkgs;
|
||||
});
|
||||
|
||||
inherit (self.builders) makeXDGMimeAssociationList
|
||||
makeXDGPortalConfiguration makeXDGDesktopEntry;
|
||||
inherit (self.builders)
|
||||
makeXDGMimeAssociationList makeXDGPortalConfiguration makeXDGDesktopEntry
|
||||
buildHugoSite buildFDSEnv;
|
||||
inherit (self.trivial) countAttrs filterAttrs';
|
||||
inherit (self.data) importYAML renderTeraTemplate renderMustacheTemplate;
|
||||
inherit (self.fetchers) fetchInternetArchive;
|
||||
|
Loading…
Reference in New Issue
Block a user