diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/editors/jetbrains/patches/pycharm-build-fix.patch')
-rw-r--r-- | nixpkgs/pkgs/applications/editors/jetbrains/patches/pycharm-build-fix.patch | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/nixpkgs/pkgs/applications/editors/jetbrains/patches/pycharm-build-fix.patch b/nixpkgs/pkgs/applications/editors/jetbrains/patches/pycharm-build-fix.patch deleted file mode 100644 index f10187637822..000000000000 --- a/nixpkgs/pkgs/applications/editors/jetbrains/patches/pycharm-build-fix.patch +++ /dev/null @@ -1,41 +0,0 @@ ---- a/python/build/src/PyCharmCommunityInstallersBuildTarget.kt -+++ b/python/build/src/PyCharmCommunityInstallersBuildTarget.kt -@@ -2,9 +2,11 @@ - - import kotlinx.coroutines.Dispatchers - import kotlinx.coroutines.runBlocking -+import org.jetbrains.intellij.build.BuildOptions - import org.jetbrains.intellij.build.BuildTasks - import org.jetbrains.intellij.build.IdeaProjectLoaderUtil - import org.jetbrains.intellij.build.impl.BuildContextImpl -+import org.jetbrains.intellij.build.pycharm.PyCharmBuildUtils - import org.jetbrains.intellij.build.pycharm.PyCharmCommunityProperties - - // Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -@@ -12,13 +14,26 @@ - @JvmStatic - fun main(args: Array<String>) { - runBlocking(Dispatchers.Default) { -+ val options = BuildOptions().apply { -+ // we cannot provide consistent build number for PyCharm Community if it's built separately so use *.SNAPSHOT number to avoid confusion -+ buildNumber = null -+ -+ // do not bother external users about clean/incremental -+ // just remove out/ directory for clean build -+ incrementalCompilation = true -+ useCompiledClassesFromProjectOutput = false -+ buildStepsToSkip.addAll(listOf( -+ BuildOptions.MAC_SIGN_STEP, -+ )) -+ } - val communityHome = IdeaProjectLoaderUtil.guessCommunityHome(javaClass) - val context = BuildContextImpl.createContext( - communityHome = communityHome, - projectHome = communityHome.communityRoot, - productProperties = PyCharmCommunityProperties(communityHome.communityRoot), -+ options = options, - ) - BuildTasks.create(context).buildDistributions() - } - } - } |