mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Merge pull request #29909 from edef1c/wmsm-gnu89
wmsm.app: compile in gnu89 mode
This commit is contained in:
commit
730b7821b8
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue