From 569d38ad6997ea33bc61495b61e498e72efb3b8d Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 20 Jan 2011 09:40:17 +0000 Subject: [PATCH] * makeStaticBinaries: handle the case where configureFlags is an array. svn path=/nixpkgs/trunk/; revision=25641 --- pkgs/stdenv/adapters.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/stdenv/adapters.nix b/pkgs/stdenv/adapters.nix index 5e135524af9b..e4f52924cf6a 100644 --- a/pkgs/stdenv/adapters.nix +++ b/pkgs/stdenv/adapters.nix @@ -101,7 +101,7 @@ rec { NIX_CFLAGS_LINK = "-static"; configureFlags = - (if args ? configureFlags then args.configureFlags else "") + (if args ? configureFlags then toString args.configureFlags else "") + " --disable-shared"; # brrr... }); isStatic = true;