pkgs: refactor

This commit is contained in:
Gabriel Arazas 2024-09-04 20:10:34 +08:00
parent 3556cc0ed5
commit ff1b7c7919
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360

View File

@ -1,7 +1,9 @@
{ pkgs ? import <nixpkgs> { } }:
with pkgs;
lib.makeScope 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)
@ -17,7 +19,7 @@ lib.makeScope newScope (self: {
blender-machin3tools = python3Packages.callPackage ./blender-machin3tools { };
clidle = callPackage ./clidle.nix { };
ctrld = callPackage ./ctrld { };
domterm = libsForQt5.callPackage ./domterm { };
domterm = qt5.callPackage ./domterm { };
fastn = callPackage ./fastn { };
flatsync = callPackage ./flatsync { };
freerct = callPackage ./freerct.nix { };
@ -37,7 +39,7 @@ lib.makeScope newScope (self: {
callPackage ./pop-launcher-plugin-duckduckgo-bangs.nix { };
pop-launcher-plugin-jetbrains = callPackage ./pop-launcher-plugin-jetbrains { };
pigeon-mail = callPackage ./pigeon-mail { };
swh = callPackage ./software-heritage { python3Packages = python310Packages; };
swh = callPackage ./software-heritage { python3Packages = pkgs.python310Packages; };
speki = callPackage ./speki { };
tic-80 = callPackage ./tic-80 { };
smile = callPackage ./smile { };