fighting with wpaperd and swaylock-plugin

This commit is contained in:
Matt Nish-Lapidus 2025-07-04 01:12:55 -04:00
parent 0a990d8308
commit cfb2e9209e
9 changed files with 68 additions and 46 deletions

12
overlays/manifold.nix Normal file
View file

@ -0,0 +1,12 @@
final: prev: {
manifold = prev.manifold.overrideAttrs (old: {
cmakeFlags = [
"-DBUILD_SHARED_LIBS=ON"
"-DMANIFOLD_TEST=OFF"
"-DMANIFOLD_CROSS_SECTION=ON"
"-DMANIFOLD_PAR=TBB"
];
doCheck = false;
});
}

View file

@ -0,0 +1,8 @@
final: prev: {
wineWowPackages.yabridge = prev.wineWowPackages.yabridge.overrideAttrs (old: {
patches = [ ../patches/wine-6006.patch ] ++ old.patches;
waylandSupport = true;
fontconfigSupport = true;
vulkanSupport = true;
});
}

23
overlays/wpaperd.nix Normal file
View file

@ -0,0 +1,23 @@
final: prev: {
wpaperd = prev.wpaperd.override (
let
rp = prev.rustPlatform;
in
{
rustPlatform = rp // {
buildRustPackage = args: rp.buildRustPackage (
args // rec {
cargoHash = "sha256-d8jzoNCn9J36SE4tQZ1orgOfFGbhVtHaaO940b3JxmQ=";
version = "1.2.2";
src = prev.fetchFromGitHub {
owner = "danyspin97";
repo = "wpaperd";
rev = "1.2.2";
hash = "sha256-6XVpjTdo/wI65Lzd02fjqir7a28EEBBp3794zLgxayY=";
};
}
);
};
}
);
}

View file

@ -6,7 +6,7 @@ final: prev: {
owner = "robbert-vdh";
repo = "yabridge";
rev = "HEAD";
hash = "sha256-pxQ+B4WF9iWNeLholSSqSMLJ3lz/Ub/PfgkAuacUAqc=";
hash = "sha256-hL6nPl5zG3e6/I1Evd0Xl3Ie/DzpdqO+2S2R4FhZqdE=";
};
patches = [