From 7f8875d126a7dddba0291291d8186952f60349f0 Mon Sep 17 00:00:00 2001 From: "Jeffrey C. Ollie" Date: Fri, 23 Aug 2024 12:05:20 -0500 Subject: [PATCH] clean up --- package.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/package.nix b/package.nix index b1ca96d..243e3fb 100644 --- a/package.nix +++ b/package.nix @@ -13,18 +13,22 @@ stdenv.mkDerivation (final: { pname = "linapple"; version = "2.3.0"; + src = fetchFromGitHub { owner = "linappleii"; repo = "linapple"; rev = "eb1f22e6093bc95cc93756fb905180d01c28656b"; hash = "sha256-KwUOmjGnfjsQomtn2So/SLoe3XSStD+TbWPsxJaaGcc="; }; + patches = [ ./asset-dir.patch ]; + nativeBuildInputs = [ imagemagick7 ]; + buildInputs = [ curl libzip @@ -32,12 +36,10 @@ stdenv.mkDerivation (final: { SDL SDL_image ]; + makeFlags = [ "DESTDIR=$(out)" ]; - # installPhase = '' - # make install DESTDIR=$out - # ''; meta = { homepage = "https://github.com/linappleii/linapple";