diff --git a/pkgs/applications/window-managers/windowmaker/dockapps/wmsm.app.nix b/pkgs/applications/window-managers/windowmaker/dockapps/wmsm.app.nix index e211abe0ea54..cf9a19c12d23 100644 --- a/pkgs/applications/window-managers/windowmaker/dockapps/wmsm.app.nix +++ b/pkgs/applications/window-managers/windowmaker/dockapps/wmsm.app.nix @@ -11,6 +11,8 @@ stdenv.mkDerivation { postUnpack = "sourceRoot=\${sourceRoot}/wmsm"; + NIX_CFLAGS_COMPILE = "-std=gnu89"; + installPhase = '' substituteInPlace Makefile --replace "PREFIX = /usr/X11R6/bin" "" --replace "/usr/bin/install" "install" mkdir -pv $out/bin;