Skip to content

Commit

Permalink
pkgs: update top-level attributes from custom library and reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
foo-dogsquared committed Nov 17, 2024
1 parent fff37df commit 78231a5
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions pkgs/default.nix
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
{ pkgs ? import <nixpkgs> { } }:

let
inherit (pkgs) lib callPackage python3Packages qt5;
in
lib.makeScope pkgs.newScope (self: {
let inherit (pkgs) lib callPackage python3Packages qt5;
in lib.makeScope pkgs.newScope (self: {
# My custom nixpkgs extensions.
foodogsquaredLib = import ../lib { inherit pkgs; };
inherit (self.foodogsquaredLib.builders)
makeXDGMimeAssociationList makeXDGPortalConfiguration makeXDGDesktopEntry
buildHugoSite buildFDSEnv;
inherit (self.foodogsquaredLib.fetchers) fetchInternetArchive;
inherit (self.foodogsquaredLib.fetchers) fetchInternetArchive fetchUgeeDriver;

# My custom packages.
awesome-cli = callPackage ./awesome-cli { };
Expand All @@ -34,12 +32,16 @@ lib.makeScope pkgs.newScope (self: {
mopidy-internetarchive = callPackage ./mopidy-internetarchive.nix { };
mopidy-listenbrainz = callPackage ./mopidy-listenbrainz { };
nautilus-annotations = callPackage ./nautilus-annotations { };
pop-launcher-plugin-brightness = callPackage ./pop-launcher-plugin-brightness { };
pop-launcher-plugin-brightness =
callPackage ./pop-launcher-plugin-brightness { };
pop-launcher-plugin-duckduckgo-bangs =
callPackage ./pop-launcher-plugin-duckduckgo-bangs.nix { };
pop-launcher-plugin-jetbrains = callPackage ./pop-launcher-plugin-jetbrains { };
pop-launcher-plugin-jetbrains =
callPackage ./pop-launcher-plugin-jetbrains { };
pigeon-mail = callPackage ./pigeon-mail { };
swh = callPackage ./software-heritage { python3Packages = pkgs.python310Packages; };
swh = callPackage ./software-heritage {
python3Packages = pkgs.python310Packages;
};
speki = callPackage ./speki { };
tic-80 = callPackage ./tic-80 { };
smile = callPackage ./smile { };
Expand Down

0 comments on commit 78231a5

Please sign in to comment.