os/overlays/overrides.nix
teutat3s c8adc5cc0c
wip: prevent element-desktop & signal-desktop
from segfaulting by using the version from nixos-22.11

It seems the electron version bundled with those pkgs from
nixos-unstable is indeed unstable when used via overlays
2023-03-14 14:30:03 +01:00

60 lines
1.1 KiB
Nix

channels: final: prev: {
__dontExport = true; # overrides clutter up actual creations
inherit
(channels.latest)
cachix
dhall
discord
rage
nix-index
qutebrowser
alejandra
starship
deploy-rs
tdesktop
arduino
arduino-cli
gurk-rs
thunderbird
swaynotificationcenter
yubikey-agent
flyctl
;
#inherit (channels.master)
# ;
inherit
(channels.pr)
signal-desktop
;
inherit
(channels.fork)
qMasterPassword
;
inherit
(channels.nixos-22-05)
terraform
;
haskellPackages =
prev.haskellPackages.override
(old: {
overrides = prev.lib.composeExtensions (old.overrides or (_: _: {})) (hfinal: hprev: let
version = prev.lib.replaceChars ["."] [""] prev.ghc.version;
in {
# same for haskell packages, matching ghc versions
inherit
(channels.latest.haskell.packages."ghc${version}")
haskell-language-server
;
});
});
# Example to override node package
# nodePackages = prev.nodePackages // { inherit (channels.latest.nodePackages) manta; };
}