Merge pull request #172527 from marius851000/azimuth

azimuth: fix compilation
This commit is contained in:
Artturi 2022-05-11 13:17:18 +03:00 committed by GitHub
commit 842a49ce0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,8 +14,9 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ which ]; nativeBuildInputs = [ which ];
buildInputs = [ SDL ]; buildInputs = [ SDL ];
NIX_CFLAGS_COMPILE = [ "-Wno-error=maybe-uninitialized" ];
preConfigure = '' preConfigure = ''
cat Makefile
substituteInPlace data/azimuth.desktop \ substituteInPlace data/azimuth.desktop \
--replace Exec=azimuth "Exec=$out/bin/azimuth" \ --replace Exec=azimuth "Exec=$out/bin/azimuth" \
--replace "Version=%AZ_VERSION_NUMBER" "Version=${version}" --replace "Version=%AZ_VERSION_NUMBER" "Version=${version}"