aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/tools/diesel-cli
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2019-10-30 02:29:30 +0100
committerJan Tojnar <jtojnar@gmail.com>2019-12-31 00:13:29 +0100
commit5f2b92e3eca8bd2d34d98e82d63783f281363f8f (patch)
tree504cc52792a07d3d674f6e8d6b3b9eadb378e3e8 /pkgs/development/tools/diesel-cli
parentab0cfd9e036ca83bdffb8790f7cf45179441cd93 (diff)
treewide: NIX_*_COMPILE -> string
Diffstat (limited to 'pkgs/development/tools/diesel-cli')
-rw-r--r--pkgs/development/tools/diesel-cli/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/tools/diesel-cli/default.nix b/pkgs/development/tools/diesel-cli/default.nix
index f6a67b051146..e5f7a50476e6 100644
--- a/pkgs/development/tools/diesel-cli/default.nix
+++ b/pkgs/development/tools/diesel-cli/default.nix
@@ -65,7 +65,7 @@ rustPlatform.buildRustPackage rec {
# Fix the build with mariadb, which otherwise shows "error adding symbols:
# DSO missing from command line" errors for libz and libssl.
- NIX_LDFLAGS = lib.optional mysqlSupport "-lz -lssl -lcrypto";
+ NIX_LDFLAGS = lib.optionalString mysqlSupport "-lz -lssl -lcrypto";
meta = with lib; {
description = "Database tool for working with Rust projects that use Diesel";