about summary refs log tree commit diff
path: root/pkgs/games/mari0
diff options
context:
space:
mode:
authorAndrew Marshall <andrew@johnandrewmarshall.com>2023-06-10 00:18:14 -0400
committerAndrew Marshall <andrew@johnandrewmarshall.com>2023-06-10 01:25:21 -0400
commitaea09ca7070ba1339c021cd55f3c743d4731af65 (patch)
tree234d4036d981a27449e18182634ec5ed940b8b42 /pkgs/games/mari0
parentbf818c857f12d97570fe11e48de55a28ec434cf3 (diff)
mari0: make reproducible
Diffstat (limited to 'pkgs/games/mari0')
-rw-r--r--pkgs/games/mari0/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/games/mari0/default.nix b/pkgs/games/mari0/default.nix
index 864e015e54a3d..6e644245c4fb5 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