NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.13k stars 13.42k forks source link

VSCodium broken on MacOS #320494

Open DerRockWolf opened 2 months ago

DerRockWolf commented 2 months ago

Describe the bug

VSCodium is broken on MacOS (aarch64-darwin) since #318059.

Steps To Reproduce

Steps to reproduce the behavior:

  1. nix run github:NixOS/nixpkgs/ea39ec3c81622e2b6b431f81017bbafdb3cd35cc#vscodium
  2. Fails to start with this popup: see screenshot below

Expected behavior

VSCodium should start. As with the previous version: nix run github:NixOS/nixpkgs/a3f79fe0b1669401d26f8476ff8fc31944b95e1b#vscodium

Screenshots

grafik
"VSCodium" is damaged and can't be opened.
This file was downloaded on an unknown date.

Additional context

The manually downloaded version 1.90.0.24158 from https://github.com/VSCodium/vscodium/releases/tag/1.90.0.24158 works as expected.

I sadly have no idea how to further debug this...

Notify maintainers

@ludovicopiero @bobby285271 @Synthetica9

Metadata

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

- system: `"aarch64-darwin"`
- host os: `Darwin 23.5.0, macOS 14.5`
- multi-user?: `yes`
- sandbox: `no`
- version: `nix-env (Nix) 2.20.3`
- channels(root): `"nixpkgs"`
- nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`

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

eclairevoyant commented 2 months ago

Sounds like it's complaining about the file date which is normalised to unix epoch?

matteo-pacini commented 2 months ago

@DerRockWolf works on Sonoma, M1 (?) - ran the command you provided

image

 - system: `"aarch64-darwin"`
 - host os: `Darwin 23.5.0, macOS 14.5`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.18.2`
 - channels(root): `"nixpkgs"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`

Security settings:

image

matteo-pacini commented 2 months ago

@DerRockWolf managed to get the same error on another M1 machine - you can then navigate to Settings -> Privacy & Security, and you should see a message saying that VSCodium could not be opened.

If you click on Open Anyway, that will open VSCodium, and it will start working after that

DerRockWolf commented 2 months ago

@DerRockWolf managed to get the same error on another M1 machine - you can then navigate to Settings -> Privacy & Security, and you should see a message saying that VSCodium could not be opened.

If you click on Open Anyway, that will open VSCodium, and it will start working after that

On my end Privacy & Security shows "VSCodium" was blocked from use because it is not from an identified developer. When I then click on Open Anyway the same popup opens again...

boozedog commented 1 month ago

@matteo-pacini 's solution worked for me on macOS 15 beta