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
inherit (pkgs) callPackage foot;
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 {
# packages that follow npins entries
# they can be updated via npins
@ -32,11 +34,11 @@
# static packages
# need manual intervention with each update
cloneit = pkgs.callPackage ./cloneit {};
reposilite-bin = pkgs.callPackage ./reposilite-bin {};
cloneit = callPackage ./cloneit {};
reposilite-bin = callPackage ./reposilite-bin {};
# patched packages
foot-transparent = pkgs.foot.overrideAttrs (prev: {
foot-transparent = foot.overrideAttrs (prev: {
patches =
(prev.patches or [])
++ [