Author: eelco
Date: Thu Jan 20 09:40:17 2011
New Revision: 25641
URL: https://svn.nixos.org/websvn/nix/?rev=25641&sc=1
Log:
* makeStaticBinaries: handle the case where configureFlags is
an array.
Modified:
nixpkgs/trunk/pkgs/stdenv/adapters.nix
Modified: nixpkgs/trunk/pkgs/stdenv/adapters.nix
==============================================================================
--- nixpkgs/trunk/pkgs/stdenv/adapters.nix Thu Jan 20 07:48:36 2011
(r25640)
+++ nixpkgs/trunk/pkgs/stdenv/adapters.nix Thu Jan 20 09:40:17 2011
(r25641)
@@ -101,7 +101,7 @@
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;
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits