From 73b24a747096bfb9293241990cdac33ece15e9b5 Mon Sep 17 00:00:00 2001 From: Ulysses Zhan Date: Fri, 20 Mar 2026 21:22:13 -0700 Subject: [PATCH] stone-kingdoms: support darwin --- pkgs/by-name/st/stone-kingdoms/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/st/stone-kingdoms/package.nix b/pkgs/by-name/st/stone-kingdoms/package.nix index 50896d2cf1e1..0da1d7fc0274 100644 --- a/pkgs/by-name/st/stone-kingdoms/package.nix +++ b/pkgs/by-name/st/stone-kingdoms/package.nix @@ -17,7 +17,7 @@ stdenvNoCC.mkDerivation rec { src = fetchFromGitLab { owner = "stone-kingdoms"; repo = "stone-kingdoms"; - rev = version; + tag = version; hash = "sha256-W2hzJg22O857Kh7CJVVHV5qu8QKjXCwW3hmgKBc0n2g="; }; @@ -46,7 +46,7 @@ stdenvNoCC.mkDerivation rec { strip-nondeterminism --type zip stone-kingdoms.love install -Dm755 -t $out/share/games/lovegames/ stone-kingdoms.love install -Dm644 assets/other/icon.png $out/share/icons/hicolor/256x256/apps/stone-kingdoms.png - makeWrapper ${love}/bin/love $out/bin/stone-kingdoms \ + makeWrapper ${lib.getExe love} $out/bin/stone-kingdoms \ --add-flags $out/share/games/lovegames/stone-kingdoms.love runHook postInstall ''; @@ -54,7 +54,7 @@ stdenvNoCC.mkDerivation rec { meta = { description = "Real-time strategy game made with LÖVE based on the original Stronghold by Firefly studios"; homepage = "https://gitlab.com/stone-kingdoms/stone-kingdoms"; - platforms = lib.platforms.linux; + platforms = love.meta.platforms; license = with lib.licenses; [ asl20 # engine unfree # game assets