summary refs log tree commit diff
path: root/pkgs/tools/system
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2019-10-28 10:17:49 +0100
committerJan Tojnar <jtojnar@gmail.com>2019-12-30 04:50:37 +0100
commitac8eaa85070e736af1548faeeb4b9b6e9976494d (patch)
tree63237e5cb3c8d2815152ea725488de1a83572e42 /pkgs/tools/system
parent20b02b80aa46b8dc96e256500e3c22fd0c22817d (diff)
downloadnixpkgs-ac8eaa85070e736af1548faeeb4b9b6e9976494d.tar
nixpkgs-ac8eaa85070e736af1548faeeb4b9b6e9976494d.tar.gz
nixpkgs-ac8eaa85070e736af1548faeeb4b9b6e9976494d.tar.bz2
nixpkgs-ac8eaa85070e736af1548faeeb4b9b6e9976494d.tar.lz
nixpkgs-ac8eaa85070e736af1548faeeb4b9b6e9976494d.tar.xz
nixpkgs-ac8eaa85070e736af1548faeeb4b9b6e9976494d.tar.zst
nixpkgs-ac8eaa85070e736af1548faeeb4b9b6e9976494d.zip
treewide: fix *Flags
Diffstat (limited to 'pkgs/tools/system')
-rw-r--r--pkgs/tools/system/ipmitool/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/system/ipmitool/default.nix b/pkgs/tools/system/ipmitool/default.nix
index c906ad3c8cf..3105cba5a34 100644
--- a/pkgs/tools/system/ipmitool/default.nix
+++ b/pkgs/tools/system/ipmitool/default.nix
@@ -25,7 +25,7 @@ stdenv.mkDerivation {
       ${if static then "LDFLAGS=-static --enable-static --disable-shared" else "--enable-shared"}
     )
   '';
-  makeFlags = if static then "AM_LDFLAGS=-all-static" else "";
+  makeFlags = stdenv.lib.optional static "AM_LDFLAGS=-all-static";
   dontDisableStatic = static;
 
   meta = with lib; {