Merge pull request #172527 from marius851000/azimuth
azimuth: fix compilation
This commit is contained in:
commit
842a49ce0c
1 changed files with 2 additions and 1 deletions
|
@ -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}"
|
||||||
|
|
Loading…
Reference in a new issue