mirror of
https://github.com/virtcode/hypr-dynamic-cursors
synced 2025-09-20 00:23:22 +02:00
25 lines
620 B
Nix
25 lines
620 B
Nix
{
|
|
inputs,
|
|
pkgs,
|
|
}:
|
|
pkgs.stdenvNoCC.mkDerivation rec {
|
|
name = "hypr-dynamic-cursors";
|
|
pname = name;
|
|
src = ./..;
|
|
nativeBuildInputs = inputs.hyprland.packages.${pkgs.system}.hyprland.nativeBuildInputs ++ [inputs.hyprland.packages.${pkgs.system}.hyprland pkgs.gcc13];
|
|
buildInputs = inputs.hyprland.packages.${pkgs.system}.hyprland.buildInputs;
|
|
|
|
dontUseCmakeConfigure = true;
|
|
dontUseMesonConfigure = true;
|
|
dontUseNinjaBuild = true;
|
|
dontUseNinjaInstall = true;
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
mkdir -p "$out/lib"
|
|
cp -r out/* "$out/lib/lib${name}.so"
|
|
|
|
runHook postInstall
|
|
'';
|
|
}
|