Add xcursor-mizuki package and update flake.nix overlay
This commit is contained in:
parent
b75111d3b8
commit
77561fdaa4
3 changed files with 26 additions and 3 deletions
|
|
@ -9,16 +9,17 @@
|
|||
let
|
||||
system = "x86_64-linux";
|
||||
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 { };
|
||||
xcursor-mizuki = final.callPackage ./pkgs/xcursor-mizuki/default.nix { stdenv = final.stdenv; };
|
||||
};
|
||||
pkgs = nixpkgs.legacyPackages.${system}.extend overlay;
|
||||
in {
|
||||
overlays.default = overlay;
|
||||
|
||||
packages.${system} = {
|
||||
inherit (pkgs) waterfox waterfox-bin;
|
||||
default = pkgs.waterfox-bin;
|
||||
inherit (pkgs) waterfox-bin xcursor-mizuki;
|
||||
# default = pkgs.waterfox-bin;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
22
pkgs/xcursor-mizuki/default.nix
Normal file
22
pkgs/xcursor-mizuki/default.nix
Normal 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";
|
||||
};
|
||||
}
|
||||
BIN
pkgs/xcursor-mizuki/xcursor-mizuki.tar.gz
Normal file
BIN
pkgs/xcursor-mizuki/xcursor-mizuki.tar.gz
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue