NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.36k stars 14.31k forks source link

Jetbrains Pycharm Community version mismatch #304755

Open pedohorse opened 7 months ago

pedohorse commented 7 months ago

Describe the bug

Package jetbrains.pycharm-community claims to be version 2024.1, but actually is 2023.3 in branches master and nixos-unstable (other branches not checked)

Steps To Reproduce

Steps to reproduce the behavior:

  1. just run the package's binary, for example with
    • nix run nixpkgs/nixos-unstable#jetbrains.pycharm-community
    • nix run nixpkgs/master#jetbrains.pycharm-community

Expected behavior

expecting 2024.1 version of pycharm community to run, but actually 2023.3 version starts

Notify maintainers

@GenericNerdyUsername @tymscar

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.84, NixOS, 23.11 (Tapir), 23.11.20240405.72da83d`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - channels(root): `""`
 - nixpkgs: `/nix/store/8mk40j3mfrvndrnh89azngcgdgr1fidi-source`

Add a :+1: reaction to issues you find important.

GenericNerdyUsername commented 7 months ago

are you looking for jetbrains.pycharm-community-bin?

pedohorse commented 7 months ago

In nixos stable branches there used to be only jetbrains.pycharm-community,
jetbrains.pycharm-community-bin is something new for me.

I see that now first one now claims to be built from source, second one claims to be patched binaries.

So then jetbrains.pycharm-community-bin is usable for me, yes,

But it doesn't change the fact that jetbrains.pycharm-community (and jetbrains.pycharm-community-src) package claims to be 2024.1, but actually is 2023.3.2

jcszymansk commented 5 months ago

The same issue with idea-community, -bin package is also OK.

dshatz commented 3 weeks ago

It seems I am also affected.

symlink of idea-community points to a directory named with the latest version from nixos-unstable. But what actually launches is the version from nixos-stable.

-bin installs the latest version from the correct channel.