lol
This commit is contained in:
@@ -85,6 +85,7 @@ in {
|
||||
additionalBlacklist = [ "/mnt" ];
|
||||
additionalMounts = [
|
||||
"/mnt/Storage/Games/LeagueOfLegends"
|
||||
"/mnt/Storage/Games/Origin"
|
||||
"/mnt/tmp"
|
||||
];
|
||||
mountInHome = [ ".local/share/lutris" ".config/lutris" "Games" ];
|
||||
|
||||
@@ -68,64 +68,4 @@ final: prev:
|
||||
};
|
||||
|
||||
discord-app = prev.discord-app.override { chromium = prev.ungoogled-chromium; };
|
||||
|
||||
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=";
|
||||
});
|
||||
nativeBuildInputs = with prev; old.nativeBuildInputs ++ [
|
||||
wrapGAppsHook
|
||||
];
|
||||
buildInputs = with prev; old.buildInputs ++ [
|
||||
libglvnd
|
||||
glib cairo pango atk gdk-pixbuf gtk3
|
||||
];
|
||||
|
||||
preFixup = ''
|
||||
patchelf \
|
||||
--add-needed ${prev.vulkan-loader}/lib/libvulkan.so.1 \
|
||||
--add-needed ${prev.libglvnd}/lib/libGL.so.1 \
|
||||
$out/bin/lapce
|
||||
'';
|
||||
});
|
||||
|
||||
# See https://github.com/NixOS/nixpkgs/issues/171320
|
||||
# Fixes XWayland crashing after a resume.
|
||||
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
|
||||
];
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user