Merge pull request #68627 from Ma27/build-unfree-locally
treewide: build some unfree packages locally
This commit is contained in:
commit
87a9e5eb31
3 changed files with 5 additions and 0 deletions
|
@ -77,4 +77,6 @@ with stdenv; lib.makeOverridable mkDerivation rec {
|
|||
ln -s "$item/share/applications" $out/share
|
||||
'';
|
||||
|
||||
} // stdenv.lib.optionalAttrs (!(meta.license.free or true)) {
|
||||
preferLocalBuild = true;
|
||||
}
|
||||
|
|
|
@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "0jxq2fiq69q9ly0m6hx2qfybqad22sl42ciw636071khpqgc885f";
|
||||
};
|
||||
|
||||
preferLocalBuild = true;
|
||||
|
||||
patches = [ ./java-env-config-fixes.patch ];
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
|
|
@ -54,6 +54,7 @@ mkDerivation rec {
|
|||
'';
|
||||
|
||||
dontStrip = true;
|
||||
preferLocalBuild = true;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = http://www.teamviewer.com;
|
||||
|
|
Loading…
Reference in a new issue