From aea09ca7070ba1339c021cd55f3c743d4731af65 Mon Sep 17 00:00:00 2001 From: Andrew Marshall Date: Sat, 10 Jun 2023 00:18:14 -0400 Subject: [PATCH] mari0: make reproducible --- pkgs/games/mari0/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/games/mari0/default.nix b/pkgs/games/mari0/default.nix index 864e015e54a3..6e644245c4fb 100644 --- a/pkgs/games/mari0/default.nix +++ b/pkgs/games/mari0/default.nix @@ -5,6 +5,7 @@ , makeDesktopItem , makeWrapper , stdenv +, strip-nondeterminism , zip }: @@ -22,6 +23,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ copyDesktopItems makeWrapper + strip-nondeterminism zip ]; @@ -39,6 +41,7 @@ stdenv.mkDerivation rec { installPhase = '' runHook preInstall zip -9 -r mari0.love ./* + strip-nondeterminism --type zip mari0.love install -Dm444 -t $out/share/games/lovegames/ mari0.love makeWrapper ${love}/bin/love $out/bin/mari0 \ --add-flags $out/share/games/lovegames/mari0.love