NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.63k stars 13.78k forks source link

openmodelica: qtWebKit is currently marked as insecure #268371

Open GiulioCocconi opened 10 months ago

GiulioCocconi commented 10 months ago

Describe the bug

Whilst trying to install openmodelica.omedit this error is displayed:

error: Package ‘qtwebkit-5.212.0-alpha4’ in /nix/store/hw0mp7awqma06m6s2h9yckyccxb63nqx-source/pkgs/development/libraries/qt-5/qtModule.nix:89 is marked as insecure, refusing to evaluate.

Known issues:
        QtWebkit upstream is unmaintained and receives no security updates, see
        https://blogs.gnome.org/mcatanzaro/2022/11/04/stop-using-qtwebkit/

Additional context

I know I could set NIXPKGS_ALLOW_INSECURE, but maybe is not the right thing to do.

Notify maintainers

@balodja @smironov

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.6.1-zen1, NixOS, 23.11 (Tapir), 23.11.20231114.bf744fe`
 - multi-user?: `no`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - channels(root): `"nixos"`
 - nixpkgs: `not found`
NickCao commented 10 months ago

You may do this more granularly with allowInsecurePredicate, but there's really not much else you can do.

GiulioCocconi commented 10 months ago

Is a fix upstream unlikely?

kirillrdy commented 10 months ago

@GiulioCocconi you should report upstream to "openmodelica.omedit"

GiulioCocconi commented 10 months ago

Do you mean the OpenModelica github page or omedit package here on NixOS?

kirillrdy commented 10 months ago

Do you mean the OpenModelica github page or omedit package here on NixOS?

there is not much nixpkgs can do, unless OpenModelica implements support for newer qtwebkit ( I am not even sure If it's a thing )

hopefully this makes sense, please feel free to follow up with questions, sometimes it's hard to provide all information in concise and well understood manner

physics-enthusiast commented 5 months ago

See OpenModelica/OpenModelica#11524