Merge pull request #68627 from Ma27/build-unfree-locally

treewide: build some unfree packages locally
This commit is contained in:
Maximilian Bosch 2019-09-20 23:45:28 +02:00 committed by GitHub
commit 87a9e5eb31
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 0 deletions

View file

@ -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;
}

View file

@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
sha256 = "0jxq2fiq69q9ly0m6hx2qfybqad22sl42ciw636071khpqgc885f";
};
preferLocalBuild = true;
patches = [ ./java-env-config-fixes.patch ];
nativeBuildInputs = [ makeWrapper ];

View file

@ -54,6 +54,7 @@ mkDerivation rec {
'';
dontStrip = true;
preferLocalBuild = true;
meta = with lib; {
homepage = http://www.teamviewer.com;