mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
yetris: fix compilation on aarch64-linux
https://hydra.nixos.org/build/297262484/nixlog/1 char's are not signed by default on aarch64 systems. Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
This commit is contained in:
parent
4d98794a09
commit
73f7ebf96c
1 changed files with 9 additions and 0 deletions
|
@ -17,6 +17,15 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
hash = "sha256-k9CXXIaDk1eAtRBEj0VCfE+D1FtmIDX3niubAdrfjqw=";
|
hash = "sha256-k9CXXIaDk1eAtRBEj0VCfE+D1FtmIDX3niubAdrfjqw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace src/Game/Entities/RotationSystemSRS.cpp \
|
||||||
|
--replace-fail 'char' 'signed char'
|
||||||
|
substituteInPlace src/Game/Entities/PieceDefinitions.cpp \
|
||||||
|
--replace-fail 'char' 'signed char'
|
||||||
|
substituteInPlace src/Game/Entities/PieceDefinitions.hpp \
|
||||||
|
--replace-fail 'char' 'signed char'
|
||||||
|
'';
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
ncurses
|
ncurses
|
||||||
];
|
];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue