preferLocalBuild: set to true for wrappers and fetchers

This commit is contained in:
Vladimír Čunát 2014-02-10 21:03:17 +01:00
parent 27ea519caf
commit 161d029d7d
14 changed files with 27 additions and 0 deletions

View File

@ -33,6 +33,8 @@ rec {
builder = ./builder.sh;
preferLocalBuild = true;
meta = {
homepage = http://pwmt.org/projects/zathura/;
description = "A highly customizable and functional PDF viewer";

View File

@ -40,6 +40,8 @@ stdenv.mkDerivation {
echo ${browser} > $out/nix-support/propagated-user-env-packages
'';
preferLocalBuild = true;
# Let each plugin tell us (through its `mozillaPlugin') attribute
# where to find the plugin in its tree.
plugins = map (x: x + x.mozillaPlugin) plugins;

View File

@ -26,6 +26,8 @@ stdenv.mkDerivation rec {
buildInputs = [which pkgconfig file glib gtk2 gtk3 curl];
preferLocalBuild = true;
meta = {
description = ''A wrapper to run browser plugins out-of-process'';
homepage = "http://nspluginwrapper.org/";

View File

@ -84,4 +84,6 @@ stdenv.mkDerivation {
if stdenv.system == "mips64el-linux" then "ld.so.1" else
abort "don't know the name of the dynamic linker for this platform")
else "";
preferLocalBuild = true;
}

View File

@ -44,5 +44,7 @@ stdenv.mkDerivation {
# by definition pure.
"http_proxy" "https_proxy" "ftp_proxy" "all_proxy" "no_proxy"
];
preferLocalBuild = true;
}

View File

@ -40,4 +40,6 @@ stdenv.mkDerivation {
# by definition pure.
"http_proxy" "https_proxy" "ftp_proxy" "all_proxy" "no_proxy"
];
preferLocalBuild = true;
}

View File

@ -92,4 +92,6 @@ stdenv.mkDerivation {
if stdenv.system == "mips64el-linux" then "ld.so.1" else
abort "don't know the name of the dynamic linker for this platform")
else "";
preferLocalBuild = true;
}

View File

@ -39,4 +39,6 @@ stdenv.mkDerivation {
chmod +x $PROG
done
'';
preferLocalBuild = true;
}

View File

@ -20,6 +20,7 @@ stdenv.mkDerivation rec {
name = "wrapped-font-dir";
builder = writeScript (name + "-builder")
(textClosure localDefs [ doInstall doForceShare doPropagate]);
preferLocalBuild = true;
meta = {
description = "
Just a wrapper to create fonts.dir and fonts.scale .

View File

@ -10,4 +10,6 @@ stdenv.mkDerivation {
cat ${./python-linkme-wrapper.sh} > $out/bin/.python-linkme-wrapper
chmod +x $out/bin/.python-linkme-wrapper
'';
preferLocalBuild = true;
}

View File

@ -17,6 +17,8 @@ stdenv.mkDerivation {
tar xf $src -C $out/include --strip-components=1 ${pkgid}/boost
'';
preferLocalBuild = true;
meta = {
homepage = "http://boost.org/";
description = "Boost C++ Library Collection";

View File

@ -6,6 +6,8 @@ stdenv.mkDerivation {
installPhase = "mkdir -p $out";
unpackPhase = "sourceRoot=.";
propagatedBuildInputs = packages;
preferLocalBuild = true;
} // {
# For compatability with XFree86.
buildClientLibs = true;

View File

@ -17,6 +17,8 @@ stdenv.mkDerivation {
phases="installPhase fixupPhase";
preferLocalBuild = true;
passthru = {
inherit lisp;
};

View File

@ -68,6 +68,8 @@ rec {
done
'' ) [ "minInit" "defEnsureDir" "addInputs" ];
preferLocalBuild = true;
meta = {
description = "TeX distribution directory";
longDescription = ''