pkgs: inherit foot and callPackage from pkgs

This commit is contained in:
raf 2023-11-07 15:59:37 +03:00
parent b6c0d902b3
commit f83b1e2125
No known key found for this signature in database
GPG key ID: 02D1DD3FA08B6B29

View file

@ -19,8 +19,10 @@
}; };
packages = let packages = let
inherit (pkgs) callPackage foot;
pins = import ../npins; pins = import ../npins;
mkPackage = path: {__functor = self: self.override;} // (pkgs.callPackage path {inherit pins;}); mkPackage = path: {__functor = self: self.override;} // (callPackage path {inherit pins;});
in { in {
# packages that follow npins entries # packages that follow npins entries
# they can be updated via npins # they can be updated via npins
@ -32,11 +34,11 @@
# static packages # static packages
# need manual intervention with each update # need manual intervention with each update
cloneit = pkgs.callPackage ./cloneit {}; cloneit = callPackage ./cloneit {};
reposilite-bin = pkgs.callPackage ./reposilite-bin {}; reposilite-bin = callPackage ./reposilite-bin {};
# patched packages # patched packages
foot-transparent = pkgs.foot.overrideAttrs (prev: { foot-transparent = foot.overrideAttrs (prev: {
patches = patches =
(prev.patches or []) (prev.patches or [])
++ [ ++ [