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:
@@ -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 ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user