Not using dependencies when building statically..
svn path=/nixpkgs/trunk/; revision=11995
This commit is contained in:
parent
efa2ae30bd
commit
7ed0f3983d
@ -113,6 +113,7 @@ let pkgs = rec {
|
|||||||
(if args ? configureFlags then args.configureFlags else "")
|
(if args ? configureFlags then args.configureFlags else "")
|
||||||
+ " --disable-shared"; # brrr...
|
+ " --disable-shared"; # brrr...
|
||||||
});
|
});
|
||||||
|
isStatic = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Applying this to an attribute set will cause nix-env to look
|
# Applying this to an attribute set will cause nix-env to look
|
||||||
@ -528,8 +529,8 @@ let pkgs = rec {
|
|||||||
curl = import ../tools/networking/curl {
|
curl = import ../tools/networking/curl {
|
||||||
fetchurl = fetchurlBoot;
|
fetchurl = fetchurlBoot;
|
||||||
inherit stdenv zlib openssl;
|
inherit stdenv zlib openssl;
|
||||||
zlibSupport = !stdenv ? isDietLibC;
|
zlibSupport = ! ((stdenv ? isDietLibC) || (stdenv ? isStatic));
|
||||||
sslSupport = !stdenv ? isDietLibC;
|
sslSupport = ! ((stdenv ? isDietLibC) || (stdenv ? isStatic));
|
||||||
};
|
};
|
||||||
|
|
||||||
curlftpfs = import ../tools/networking/curlftpfs {
|
curlftpfs = import ../tools/networking/curlftpfs {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user