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