simutrans: preferLocalBuild = true; for data derivations

This commit is contained in:
Vladimír Čunát 2016-01-03 10:27:50 +01:00
parent 14383f3079
commit 3a468a9548

View File

@ -73,6 +73,7 @@ let
stdenv.mkDerivation { stdenv.mkDerivation {
name = "simutrans-${pakName}"; name = "simutrans-${pakName}";
unpackPhase = "true"; unpackPhase = "true";
preferLocalBuild = true;
installPhase = let src = fetchurl { inherit url sha256; }; installPhase = let src = fetchurl { inherit url sha256; };
in '' in ''
mkdir -p "$out/share/simutrans/${pakName}" mkdir -p "$out/share/simutrans/${pakName}"