mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 19:51:17 +00:00
mari0: make reproducible
This commit is contained in:
parent
bf818c857f
commit
aea09ca707
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue