diff options
author | Robin Gloster <mail@glob.in> | 2019-10-30 03:23:29 +0100 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2019-12-31 00:15:46 +0100 |
commit | f9f46dc327c7e659e84d558f1309e16e16e8245a (patch) | |
tree | f402e0b62191769e95e3199c3f635bb8ed7a6da3 /pkgs/development/libraries/libfpx/default.nix | |
parent | 5f2b92e3eca8bd2d34d98e82d63783f281363f8f (diff) |
treewide: NIX_*_FLAGS -> string
Diffstat (limited to 'pkgs/development/libraries/libfpx/default.nix')
-rw-r--r-- | pkgs/development/libraries/libfpx/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libfpx/default.nix b/pkgs/development/libraries/libfpx/default.nix index f4863eb33f26..97df5107409a 100644 --- a/pkgs/development/libraries/libfpx/default.nix +++ b/pkgs/development/libraries/libfpx/default.nix @@ -9,7 +9,7 @@ stdenv.mkDerivation rec { }; # Darwin gets misdetected as Windows without this - NIX_CFLAGS_COMPILE = if stdenv.isDarwin then "-D__unix" else null; + NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-D__unix"; patches = [ (fetchpatch { |