about summary refs log tree commit diff
path: root/pkgs/development/libraries/argp-standalone
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2019-10-30 01:40:49 +0100
committerJan Tojnar <jtojnar@gmail.com>2019-12-31 00:10:18 +0100
commitab0cfd9e036ca83bdffb8790f7cf45179441cd93 (patch)
tree006ede78e54ee19818bb6e6830e0c2a6f93f05f2 /pkgs/development/libraries/argp-standalone
parent981ae25113c13b7989e89b8b57be25d9e186a63e (diff)
treewide: NIX_*_COMPILE -> string
Diffstat (limited to 'pkgs/development/libraries/argp-standalone')
-rw-r--r--pkgs/development/libraries/argp-standalone/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/argp-standalone/default.nix b/pkgs/development/libraries/argp-standalone/default.nix
index 8fe3bd287c10a..6544c48118750 100644
--- a/pkgs/development/libraries/argp-standalone/default.nix
+++ b/pkgs/development/libraries/argp-standalone/default.nix
@@ -31,7 +31,7 @@ stdenv.mkDerivation {
        stdenv.lib.optionals stdenv.hostPlatform.isDarwin [ patch-argp-fmtstream ]
     ++ stdenv.lib.optionals stdenv.hostPlatform.isLinux [ patch-throw-in-funcdef patch-shared ];
 
-  patchFlags = stdenv.lib.optionalString stdenv.hostPlatform.isDarwin "-p0";
+  patchFlags = stdenv.lib.optional stdenv.hostPlatform.isDarwin "-p0";
 
   preConfigure = stdenv.lib.optionalString stdenv.hostPlatform.isLinux "export CFLAGS='-fgnu89-inline'";