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; builder = ./builder.sh;
preferLocalBuild = true;
meta = { meta = {
homepage = http://pwmt.org/projects/zathura/; homepage = http://pwmt.org/projects/zathura/;
description = "A highly customizable and functional PDF viewer"; 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 echo ${browser} > $out/nix-support/propagated-user-env-packages
''; '';
preferLocalBuild = true;
# Let each plugin tell us (through its `mozillaPlugin') attribute # Let each plugin tell us (through its `mozillaPlugin') attribute
# where to find the plugin in its tree. # where to find the plugin in its tree.
plugins = map (x: x + x.mozillaPlugin) plugins; plugins = map (x: x + x.mozillaPlugin) plugins;

View File

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

View File

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

View File

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

View File

@ -40,4 +40,6 @@ stdenv.mkDerivation {
# by definition pure. # by definition pure.
"http_proxy" "https_proxy" "ftp_proxy" "all_proxy" "no_proxy" "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 if stdenv.system == "mips64el-linux" then "ld.so.1" else
abort "don't know the name of the dynamic linker for this platform") abort "don't know the name of the dynamic linker for this platform")
else ""; else "";
preferLocalBuild = true;
} }

View File

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

View File

@ -20,6 +20,7 @@ stdenv.mkDerivation rec {
name = "wrapped-font-dir"; name = "wrapped-font-dir";
builder = writeScript (name + "-builder") builder = writeScript (name + "-builder")
(textClosure localDefs [ doInstall doForceShare doPropagate]); (textClosure localDefs [ doInstall doForceShare doPropagate]);
preferLocalBuild = true;
meta = { meta = {
description = " description = "
Just a wrapper to create fonts.dir and fonts.scale . 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 cat ${./python-linkme-wrapper.sh} > $out/bin/.python-linkme-wrapper
chmod +x $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 tar xf $src -C $out/include --strip-components=1 ${pkgid}/boost
''; '';
preferLocalBuild = true;
meta = { meta = {
homepage = "http://boost.org/"; homepage = "http://boost.org/";
description = "Boost C++ Library Collection"; description = "Boost C++ Library Collection";

View File

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

View File

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

View File

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