diff options
author | Andrew Marshall <andrew@johnandrewmarshall.com> | 2023-06-10 00:24:27 -0400 |
---|---|---|
committer | Andrew Marshall <andrew@johnandrewmarshall.com> | 2023-06-10 01:25:21 -0400 |
commit | a7b2dbf48d537997ccfe64fe5786c5c4338a4b29 (patch) | |
tree | 2e2c40baca5112fac5a030efba13a320ec9f6a31 /pkgs/games/orthorobot | |
parent | c0a48fcaf5f2fee3ecc1d4512210c868543c6de3 (diff) |
orthorobot: make reproducible
Diffstat (limited to 'pkgs/games/orthorobot')
-rw-r--r-- | pkgs/games/orthorobot/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/games/orthorobot/default.nix b/pkgs/games/orthorobot/default.nix index e6ee3bcb4e082..6ca70596458d4 100644 --- a/pkgs/games/orthorobot/default.nix +++ b/pkgs/games/orthorobot/default.nix @@ -7,6 +7,7 @@ , makeDesktopItem , makeWrapper , stdenv +, strip-nondeterminism , zip }: @@ -41,6 +42,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ copyDesktopItems makeWrapper + strip-nondeterminism zip ]; @@ -55,6 +57,7 @@ stdenv.mkDerivation rec { installPhase = '' runHook preInstall zip -9 -r orthorobot.love ./* + strip-nondeterminism --type zip orthorobot.love install -Dm444 -t $out/share/games/lovegames/ orthorobot.love makeWrapper ${love}/bin/love $out/bin/orthorobot \ --add-flags $out/share/games/lovegames/orthorobot.love |