orthorobot: make reproducible
This commit is contained in:
parent
c0a48fcaf5
commit
a7b2dbf48d
1 changed files with 3 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
||||||
, makeDesktopItem
|
, makeDesktopItem
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, stdenv
|
, stdenv
|
||||||
|
, strip-nondeterminism
|
||||||
, zip
|
, zip
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -41,6 +42,7 @@ stdenv.mkDerivation rec {
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
copyDesktopItems
|
copyDesktopItems
|
||||||
makeWrapper
|
makeWrapper
|
||||||
|
strip-nondeterminism
|
||||||
zip
|
zip
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -55,6 +57,7 @@ stdenv.mkDerivation rec {
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
zip -9 -r orthorobot.love ./*
|
zip -9 -r orthorobot.love ./*
|
||||||
|
strip-nondeterminism --type zip orthorobot.love
|
||||||
install -Dm444 -t $out/share/games/lovegames/ orthorobot.love
|
install -Dm444 -t $out/share/games/lovegames/ orthorobot.love
|
||||||
makeWrapper ${love}/bin/love $out/bin/orthorobot \
|
makeWrapper ${love}/bin/love $out/bin/orthorobot \
|
||||||
--add-flags $out/share/games/lovegames/orthorobot.love
|
--add-flags $out/share/games/lovegames/orthorobot.love
|
||||||
|
|
Loading…
Reference in a new issue