2019-12-04 21:08:37 +01:00
|
|
|
# This overlay is used for overriding upstream packages.
|
|
|
|
|
|
|
|
self: super:
|
|
|
|
|
|
|
|
let
|
2022-06-25 16:03:40 +02:00
|
|
|
sources = import ../../nix/sources.nix;
|
|
|
|
|
2019-12-04 21:08:37 +01:00
|
|
|
nixpkgs-master = import <nixpkgs-master> { inherit (super) config; };
|
2021-08-31 12:37:14 +02:00
|
|
|
nixpkgs-unstable = import <channels-nixos-unstable> { inherit (super) config; };
|
2022-09-17 18:19:39 +02:00
|
|
|
pr-holochain-launcher-bin = import sources.pr-holochain-launcher-bin { inherit (super) config; };
|
2019-12-04 21:08:37 +01:00
|
|
|
|
|
|
|
in {
|
|
|
|
inherit nixpkgs-master;
|
2021-08-31 12:37:14 +02:00
|
|
|
inherit nixpkgs-unstable;
|
2019-12-04 21:08:37 +01:00
|
|
|
|
|
|
|
# alacritty = nixpkgs-master.alacritty;
|
|
|
|
alacritty = super.stdenv.mkDerivation {
|
|
|
|
name = "alacritty-custom";
|
|
|
|
buildInputs = [ super.makeWrapper ];
|
|
|
|
phases = "installPhase";
|
|
|
|
installPhase = ''
|
2022-05-05 13:56:26 +02:00
|
|
|
makeWrapper ${super.alacritty}/bin/alacritty $out/bin/alacritty \
|
2020-07-28 15:26:42 +02:00
|
|
|
--set-default WINIT_X11_SCALE_FACTOR 1.4
|
2019-12-04 21:08:37 +01:00
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
2021-12-24 15:07:36 +01:00
|
|
|
qtile = super.qtile.overrideAttrs(oldAttrs: {
|
2021-08-31 12:37:14 +02:00
|
|
|
propagatedBuildInputs = oldAttrs.passthru.unwrapped.propagatedBuildInputs ++ (with self.python3Packages; [
|
|
|
|
# python-wifi
|
|
|
|
# iwlib
|
|
|
|
keyring
|
|
|
|
]);
|
|
|
|
});
|
|
|
|
|
2022-09-17 18:19:39 +02:00
|
|
|
inherit (pr-holochain-launcher-bin) holochain-launcher;
|
|
|
|
|
2022-08-13 17:25:40 +02:00
|
|
|
# logseq = nixpkgs-staging-steveej.logseq;
|
2019-12-04 21:08:37 +01:00
|
|
|
}
|