diff options
author | Robin Gloster <mail@glob.in> | 2019-10-30 12:34:47 +0100 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2019-12-31 00:16:46 +0100 |
commit | 313da176d35efefbcf36b41ec348c38403581e83 (patch) | |
tree | cd7bba63111f2330601c18f0b2a33b65c3b9bbab /pkgs/games/zoom/default.nix | |
parent | f9f46dc327c7e659e84d558f1309e16e16e8245a (diff) | |
download | nixpkgs-313da176d35efefbcf36b41ec348c38403581e83.tar nixpkgs-313da176d35efefbcf36b41ec348c38403581e83.tar.gz nixpkgs-313da176d35efefbcf36b41ec348c38403581e83.tar.bz2 nixpkgs-313da176d35efefbcf36b41ec348c38403581e83.tar.lz nixpkgs-313da176d35efefbcf36b41ec348c38403581e83.tar.xz nixpkgs-313da176d35efefbcf36b41ec348c38403581e83.tar.zst nixpkgs-313da176d35efefbcf36b41ec348c38403581e83.zip |
treewide: NIX_*_FLAGS -> string
Diffstat (limited to 'pkgs/games/zoom/default.nix')
-rw-r--r-- | pkgs/games/zoom/default.nix | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/pkgs/games/zoom/default.nix b/pkgs/games/zoom/default.nix index 449d7ae6e2d..827fb351f1d 100644 --- a/pkgs/games/zoom/default.nix +++ b/pkgs/games/zoom/default.nix @@ -4,21 +4,15 @@ stdenv.mkDerivation rec { name = "zoom-1.1.5"; - + src = fetchurl { url = "https://www.logicalshift.co.uk/unix/zoom/${name}.tar.gz"; sha256 = "1g6van7f7sg3zfcz80mncnnbccyg2hnm0hq4x558vpsm0lf7z5pj"; }; - + buildInputs = [ perl expat xlibsWrapper freetype ]; - - NIX_CFLAGS_COMPILE = [ - # Zoom doesn't add the right directory in the include path. - "-I" (freetype + "/include/freetype2") - # for gcc5; c11 inline semantics breaks the build - "-fgnu89-inline" - ]; + NIX_CFLAGS_COMPILE = "-I${freetype}/include/freetype2 -fgnu89-inline"; meta = with stdenv.lib; { description = "Player for Z-Code, TADS and HUGO stories or games"; |