New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jetbrains.editors: 2018.1.x -> 2018.2 (upgrade using the script) #44118
Conversation
Rebased on top of #44064 and fixed issue with gdb. It was resolved exactly the same way as with lldb, few lines above, by patching zlib... figured that the hard way. I am using the clion now, trying to see if anything else is broken. |
rm -rf bin/cmake | ||
ln -s ${cmake} bin/cmake | ||
rm -rf bin/cmake/linux | ||
ln -s ${cmake} bin/cmake/linux |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to. I wonder if we should switch to autoPatchelfHook
to avoid breakages in future updates.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Example: ea5787a
RubyMine user here. This update is missing 2018.2. It looks like the
All of the above, excluding Rider, have 2018.2 channels. The following patch (on top of your branch) will let the script update the remaining packages. diff --git a/pkgs/applications/editors/jetbrains/default.nix b/pkgs/applications/editors/jetbrains/default.nix
index b28b4745464..7169c96ae83 100644
--- a/pkgs/applications/editors/jetbrains/default.nix
+++ b/pkgs/applications/editors/jetbrains/default.nix
@@ -270,7 +270,7 @@ in
sha256 = "0jqkqiml7v1m9hkcjwmx866vrn5myxcg4zqzyghviyx5i7jrvx3c"; /* updated by script */
};
wmClass = "jetbrains-datagrip";
- update-channel = "DataGrip 2018.1";
+ update-channel = "DataGrip 2018.2";
};
goland = buildGoland rec {
@@ -322,7 +322,7 @@ in
sha256 = "0v07sfg7ywawk6wb52zhr3753hscpxw3m53ppgw4n50dcdwx0kdn"; /* updated by script */
};
wmClass = "jetbrains-phpstorm";
- update-channel = "PhpStorm 2018.1";
+ update-channel = "PhpStorm 2018.2";
};
pycharm-community = buildPycharm rec {
@@ -374,7 +374,7 @@ in
sha256 = "0pjmr6g4wcqgxci4f3a4n6x1dqyabhzw886l7faj33nwdk9i2gv3"; /* updated by script */
};
wmClass = "jetbrains-rubymine";
- update-channel = "RubyMine 2018.1";
+ update-channel = "RubyMine 2018.2";
};
webstorm = buildWebStorm rec { |
also backported all updates. |
Motivation for this change
New release in the 2018 series. New features.
Things done
This goes beyond #44064 in that it fixes the clion build so that clion actually builds.
I've only tested idea-ultimate and clion packages. In case of clion,
I looked into patching the bundled gdb, but could not make it work. Does not really matter, it did not work before, and llvm debugger or gdb from users profile can be used instead. The furthest I got with the bundled gdb issandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)