nixos-config/overlays/simple.nix

132 lines
3.7 KiB
Nix
Raw Normal View History

final: prev:
2021-08-31 16:01:29 +00:00
2022-01-06 12:25:26 +00:00
{
2021-08-31 16:01:29 +00:00
gajim = prev.gajim.overrideAttrs (old: {
# Enable notification sounds
propagatedBuildInputs = old.propagatedBuildInputs ++ [ prev.gsound ];
});
animedl = prev.animedl.overrideAttrs (old: {
extraPkgs = pkgs: with final; [ mpv ];
2021-08-31 16:01:29 +00:00
});
lutris-free = prev.lutris-free.override {
extraPkgs = ps: with ps; [ openssl ];
};
retroarch = prev.retroarch.override (old: {
cores = with prev.libretro; [
desmume
sameboy
mgba
mupen64plus
parallel-n64
];
});
2021-09-11 22:32:18 +00:00
libvirt = prev.libvirt.override {
# NOTE: This to prevent libvirt from using iptables and loading
# ip_tables and the likes
iptables = prev.iptables-nftables-compat;
};
2021-10-22 19:44:48 +00:00
nwg-launchers = prev.nwg-launchers.overrideAttrs (old: rec {
version = "0.6.3";
src = prev.fetchFromGitHub {
owner = "nwg-piotr";
repo = "nwg-launchers";
rev = "v${version}";
sha256 = "05aih05z5dybbv67qjmn90yjrk1k2l0v83hhglqqdin18k5xhq21";
};
});
2021-11-06 20:15:36 +00:00
myxer = prev.myxer.overrideAttrs (old: {
cargoPatches = [ ../patches/myxer/0000-1.2.1-set-gio-version.patch ];
});
2021-12-06 20:50:40 +00:00
2022-01-14 17:08:47 +00:00
xournalpp-git = prev.xournalpp.overrideAttrs (old: {
version = "1.1.1";
src = prev.fetchFromGitHub {
owner = "bhennion";
repo = "xournalpp";
rev = "5d1545b0c4303e45b4ddf4ef8a1565eba822a9af";
sha256 = "1d17lvydlny9pvaxa9xy53wxs7i6d563lp5r9g3r1xpgnb7zli8v";
};
});
2022-02-17 18:57:49 +00:00
2022-06-15 17:43:12 +00:00
discord = prev.discord.overrideAttrs (old: rec {
version = "0.0.18";
2022-02-17 18:57:49 +00:00
src = prev.fetchurl {
2022-06-15 17:43:12 +00:00
url = "https://dl.discordapp.net/apps/linux/${version}/discord-${version}.tar.gz";
sha256 = "sha256-BBc4n6Q3xuBE13JS3gz/6EcwdOWW57NLp2saOlwOgMI=";
2022-02-17 18:57:49 +00:00
};
});
2022-03-19 14:19:11 +00:00
tor-browser-bundle-bin = prev.tor-browser-bundle-bin.override {
useHardenedMalloc = false;
};
2022-03-27 10:30:13 +00:00
discord-app = prev.discord-app.override { chromium = prev.ungoogled-chromium; };
2022-06-15 17:43:12 +00:00
lapce = prev.lapce.overrideAttrs (old: rec {
version = "0.1.2";
src = prev.fetchFromGitHub {
owner = "lapce";
repo = "lapce";
rev = "v${version}";
sha256 = "1pn3ikh72z5y1ywx3bilghrzrwqc1inds2yxnz37l8s1azf3nzlc";
};
cargoDeps = old.cargoDeps.overrideAttrs (_: {
inherit src;
outputHash = "sha256-spmRgwTh0Sg+OvT/s85xEvOfs2DdCihnX6Ya+sDyePM=";
});
2022-06-17 08:11:39 +00:00
nativeBuildInputs = with prev; old.nativeBuildInputs ++ [
wrapGAppsHook
];
buildInputs = with prev; old.buildInputs ++ [
libglvnd
glib cairo pango atk gdk-pixbuf gtk3
];
2022-06-15 17:43:12 +00:00
preFixup = ''
patchelf \
--add-needed ${prev.vulkan-loader}/lib/libvulkan.so.1 \
--add-needed ${prev.libglvnd}/lib/libGL.so.1 \
$out/bin/lapce
'';
});
2022-06-30 17:59:45 +00:00
2022-07-13 17:35:32 +00:00
# See https://github.com/NixOS/nixpkgs/issues/171320
# Fixes XWayland crashing after a resume.
2022-06-30 17:59:45 +00:00
xwayland = prev.xwayland.overrideAttrs (old: rec {
version = "21.1.4";
src = prev.fetchurl {
url = "mirror://xorg/individual/xserver/xwayland-${version}.tar.xz";
sha256 = "sha256-GfZ5XzHPqOs1Kx5bPDefIu5gIOmHAf8sxnnajE8RWfc=";
};
});
# See
# https://github.com/NixOS/nixpkgs/commit/2bf8d8c0162507d08f9fc48e36ce7225f4879bd4
libsForQt5 = prev.libsForQt5.overrideScope' (finalp: prevp: {
plasma5 = prevp.plasma5.overrideScope' (finalq: prevq: {
plasma-mobile = prevq.plasma-mobile.overrideAttrs (old: {
buildInputs = with prevp; old.buildInputs ++ [
plasma-workspace
];
});
});
});
plasma5Packages = prev.plasma5Packages.overrideScope' (finalp: prevp: {
plasma5 = prevp.plasma5.overrideScope' (finalq: prevq: {
plasma-mobile = prevq.plasma-mobile.overrideAttrs (old: {
buildInputs = with prevp; old.buildInputs ++ [
plasma-workspace
];
});
});
});
2021-08-31 16:01:29 +00:00
}