Skip to content
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

[WIP] Pkg jetbrains toolbox #86020

Closed
wants to merge 3 commits into from
Closed

[WIP] Pkg jetbrains toolbox #86020

wants to merge 3 commits into from

Conversation

amanjeev
Copy link
Contributor

@amanjeev amanjeev commented Apr 25, 2020

Note: This is a WIP PR. I have opened this for the possibility of the help I need.

Motivation for this change

Addition of JetBrains Toolbox App that can alternatively manage IDE installations and licenses.

However, I am not sure why this change gives me an error after installation:

$ jetbrains-toolbox
Failed to execute process '/home/<user>/.nix-profile/bin/jetbrains-toolbox'. Reason:
The file '/home/<user>/.nix-profile/bin/jetbrains-toolbox' does not exist or could not be executed.

When I run the following to "install"

$ nix-env -f $NIXPKGS -iA jetbrains.toolbox

installing 'jetbrains-toolbox-1.17.6802'
these derivations will be built:
  /nix/store/sqjk9a9csv2slp66v131abvm6mpp2mrg-jetbrains-toolbox-1.17.6802.drv
building '/nix/store/sqjk9a9csv2slp66v131abvm6mpp2mrg-jetbrains-toolbox-1.17.6802.drv'...
unpacking sources
unpacking source archive /nix/store/7pzqm132hvafgl3npfma47bnil4fha11-jetbrains-toolbox-1.17.6802.tar.gz
source root is jetbrains-toolbox-1.17.6802
setting SOURCE_DATE_EPOCH to timestamp 1586948045 of file jetbrains-toolbox-1.17.6802/jetbrains-toolbox
patching sources
Empty patchPhase
configuring
no configure script, doing nothing
building
no Makefile, doing nothing
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/bn6mxb656ms8cp6c02jfiy9ydxcamqbx-jetbrains-toolbox-1.17.6802
shrinking /nix/store/bn6mxb656ms8cp6c02jfiy9ydxcamqbx-jetbrains-toolbox-1.17.6802/bin/jetbrains-toolbox
strip is /nix/store/nyhj00w339gk2gaj3faz70gjrnbmam8v-binutils-2.31.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/bn6mxb656ms8cp6c02jfiy9ydxcamqbx-jetbrains-toolbox-1.17.6802/bin
patching script interpreter paths in /nix/store/bn6mxb656ms8cp6c02jfiy9ydxcamqbx-jetbrains-toolbox-1.17.6802
checking for references to /build/ in /nix/store/bn6mxb656ms8cp6c02jfiy9ydxcamqbx-jetbrains-toolbox-1.17.6802...
building '/nix/store/hqp069y56ik9dsf9c95wgf7qhcc1f3fb-user-environment.drv'...
warning: skipping dangling symlink '/nix/store/srrmmkb8nh8fa6a9fjv0prv8gcf0c0h2-user-environment/bin/mullvad-problem-report'
created 2135 symlinks in user environment
Things done (N/A for this PR)
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@amanjeev
Copy link
Contributor Author

Please let me know if someone more experienced can help me out here.

@amanjeev
Copy link
Contributor Author

I started from scratch for jetbrains-toolbox and the binary installs but I get the error

/nix/store/8qjdqvkwsin8l02fasr97ywsqwi4v5nj-jetbrains-toolbox-1.17.6802/jetbrains-toolbox: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory

Currently, looking into how can I link to the libz so.

@mbrgm
Copy link
Member

mbrgm commented Aug 13, 2020

Any progress on this?

@amanjeev
Copy link
Contributor Author

@mbrgm Thank you for pinging me. Unfortunately, I did not have time to get back to it. I am going to close this and reopen a new one once I have time and I can do anything substantial.

@amanjeev amanjeev closed this Aug 13, 2020
@drupol
Copy link
Contributor

drupol commented Jun 3, 2021

So sad, I'm looking for i. I found this: https://gist.github.com/SrTobi/ee6104514e2f14a0f1eae201654f2012 but I'm unable to get it working. Any hint?

@Minion3665
Copy link
Member

I need JetBrains Toolbox to download JetBrains Fleet Beta, maybe I will take this outside work.

Did you make any progress on this? Given fleet is now in public beta I'm quite interested in finding a way to support it

@not-matthias
Copy link

Same here. Also looking for a solution to install Jetbrains Toolbox.

@pupbrained
Copy link

In the meantime, you can just use https://download-cdn.jetbrains.com/fleet/installers/linux_x64/Fleet-1.9.231.tar.gz with steam-run

@drupol
Copy link
Contributor

drupol commented Oct 12, 2022

Same here. Also looking for a solution to install Jetbrains Toolbox.

Some people already tried here: https://discourse.nixos.org/t/help-with-a-derivation-package/8686/7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants