From 0460e3f2f70fd87fdad68a00a349712d87345182 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 15 Nov 2010 17:47:36 +0000 Subject: [PATCH] Enable building of static libraries so that urweb can build statically linked binaries. svn path=/nixpkgs/trunk/; revision=24692 --- pkgs/development/compilers/urweb/default.nix | 2 ++ pkgs/development/libraries/libmhash/default.nix | 2 ++ 2 files changed, 4 insertions(+) diff --git a/pkgs/development/compilers/urweb/default.nix b/pkgs/development/compilers/urweb/default.nix index b88df77dd50..8f2a33fa5ae 100644 --- a/pkgs/development/compilers/urweb/default.nix +++ b/pkgs/development/compilers/urweb/default.nix @@ -24,6 +24,8 @@ stdenv.mkDerivation rec { export GCCARGS="-I${mysql}/include/mysql -I${postgresql}/include -I${sqlite}/include -L${libmhash}/lib -L${mysql}/lib/mysql -L${postgresql}/lib -L${sqlite}/lib" ''; + dontDisableStatic = true; + meta = { description = "Ur/Web supports construction of dynamic web applications backed by SQL databases."; longDescription = '' diff --git a/pkgs/development/libraries/libmhash/default.nix b/pkgs/development/libraries/libmhash/default.nix index cd026298011..565340ac271 100644 --- a/pkgs/development/libraries/libmhash/default.nix +++ b/pkgs/development/libraries/libmhash/default.nix @@ -17,6 +17,8 @@ stdenv.mkDerivation rec { version = "0.9.9.9"; name = "${pname}-${version}"; + dontDisableStatic = true; + src = fetchurl { url = "mirror://sourceforge/${pname}/${name}.tar.bz2"; sha256 = "1w7yiljan8gf1ibiypi6hm3r363imm3sxl1j8hapjdq3m591qljn";