reewide: Purge all uses stdenv.system and top-level system

It is deprecated and will be removed after 18.09.
This commit is contained in:
John Ericson
2018-08-30 17:20:32 -04:00
parent 94f71d800d
commit 2c2f1e37d4
263 changed files with 594 additions and 577 deletions
@@ -10,13 +10,13 @@ let drv = stdenv.mkDerivation rec {
version = "152b1248.6";
name = pname + "-" + version;
src = if stdenv.system == "x86_64-linux" then
src = if stdenv.hostPlatform.system == "x86_64-linux" then
fetchurl {
url = "https://bintray.com/jetbrains/intellij-jdk/download_file?file_path=jbsdk8u${version}_linux_x64.tar.gz";
sha256 = "12l81g8zhaymh4rzyfl9nyzmpkgzc7wrphm3j4plxx129yn9i7d7";
}
else
throw "unsupported system: ${stdenv.system}";
throw "unsupported system: ${stdenv.hostPlatform.system}";
nativeBuildInputs = [ file ];