Add xcursor-mizuki package and update flake.nix overlay

This commit is contained in:
암냥 2026-03-27 01:50:32 +09:00
commit 77561fdaa4
No known key found for this signature in database
3 changed files with 26 additions and 3 deletions

View file

@ -9,16 +9,17 @@
let let
system = "x86_64-linux"; system = "x86_64-linux";
overlay = final: prev: { overlay = final: prev: {
waterfox = final.callPackage ./pkgs/waterfox/default.nix { }; # waterfox = final.callPackage ./pkgs/waterfox/default.nix { };
waterfox-bin = final.callPackage ./pkgs/waterfox-bin/default.nix { }; waterfox-bin = final.callPackage ./pkgs/waterfox-bin/default.nix { };
xcursor-mizuki = final.callPackage ./pkgs/xcursor-mizuki/default.nix { stdenv = final.stdenv; };
}; };
pkgs = nixpkgs.legacyPackages.${system}.extend overlay; pkgs = nixpkgs.legacyPackages.${system}.extend overlay;
in { in {
overlays.default = overlay; overlays.default = overlay;
packages.${system} = { packages.${system} = {
inherit (pkgs) waterfox waterfox-bin; inherit (pkgs) waterfox-bin xcursor-mizuki;
default = pkgs.waterfox-bin; # default = pkgs.waterfox-bin;
}; };
}; };
} }

View file

@ -0,0 +1,22 @@
{ stdenv }:
stdenv.mkDerivation rec {
name = "xcursor-mizuki";
version = "1.0.0";
src = ./xcursor-mizuki.tar.gz;
installPhase = ''
runHook preInstall
install -dm 0755 $out/share/icons/xcursor-mizuki
cp -rf . $out/share/icons/xcursor-mizuki
runHook postInstall
'';
meta = {
description = "Mizuki cursor";
homepage = "https://l9525.booth.pm/items/3905447";
};
}

Binary file not shown.