Mercury icon indicating copy to clipboard operation
Mercury copied to clipboard

NixOS Support

Open orangci opened this issue 1 year ago • 4 comments

I use NixOS and can't use Mercury (or thorium.) It would be really nice to have it packaged as a nixpkg! I love mercury and I'm heartbroken that I can't use it here.

orangci avatar Oct 18 '23 02:10 orangci

Thanks for the advice.

@sahmed011

gz83 avatar Oct 18 '23 03:10 gz83

I use NixOS and can't use Mercury (or thorium.) It would be really nice to have it packaged as a nixpkg! I love mercury and I'm heartbroken that I can't use it here.

You might get away with running it with the steam-run binary from the steam derivation, such as steam-run path/to/mercury.

Support for NixOS is already underway in the https://github.com/NixOS/nixpkgs/ repository, see issue https://github.com/NixOS/nixpkgs/issues/255399 for the request and the current derivation implementation underway here: https://github.com/NixOS/nixpkgs/pull/261805

necrophcodr avatar Oct 22 '23 19:10 necrophcodr

I use NixOS and can't use Mercury (or thorium.) It would be really nice to have it packaged as a nixpkg! I love mercury and I'm heartbroken that I can't use it here.

I'm the one currently working on the PR to get mercury merged into nixpkgs, if you want I can lend a hand getting it working locally, at least until it gets merged.

You can pretty much just check the PR, and put the package.nix either in you system config or home-manager, and you add it to systemPackages or userPackages with a callPackage statement.

redxtech avatar Oct 24 '23 19:10 redxtech

Okay, excited to hear that. I'll wait for it to get merged, thanks for the info!

orangci avatar Oct 25 '23 09:10 orangci