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 ];
buildInputs = [ SDL ];
NIX_CFLAGS_COMPILE = [ "-Wno-error=maybe-uninitialized" ];
preConfigure = ''
cat Makefile
substituteInPlace data/azimuth.desktop \
--replace Exec=azimuth "Exec=$out/bin/azimuth" \
--replace "Version=%AZ_VERSION_NUMBER" "Version=${version}"