Configuring NixOS to use Parallels Tools is impossible.
https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/virtualisation/parallels-guest.nix
hardware.parallels.enable = true;
to nix config and run nixos-rebuild switch
***
Please, place Parallels Tools for Linux image into Nix store
using either
nix-store --add-fixed sha256 prl-tools-lin.iso
or
nix-prefetch-url file://path/to/prl-tools-lin.iso
***
prl-tools-lin.iso
from the Mac /Applications folder into NixOSnixos-rebuild switch
which (unexpectedly) repeats the same error in step 3 - system: `"x86_64-linux"`
- host os: `Linux 4.9.61, NixOS, 17.09.2075.ac35504065 (Hummingbird)`
- multi-user?: `yes`
- sandbox: `no`
- version: `nix-env (Nix) 1.11.15`
- nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs`
Perhaps @nckx has some ideas ... ?
@orivej I assume you meant that I should be updating the pkgs/os-specific/linux/prl-tools/default.nix
file? Where does this file exist on my NixOS?
I'm guessing this is a Mac thing, and I've never even used a Mac... I'm not quite sure why you thought I'd be able to help, but wish you the best of luck, @srid!
Sorry @nckx ... I think I should have instead tagged @lukeadams as he seems to be an user of it ... though git history shows that @abbradar originally created the file.
@orivej I located the file you must be referring to here: /nix/store/8nl96y7kw759aw7zlfxdck3bvrj95b31-nixos-17.09.2075.ac35504065/nixos/pkgs/os-specific/linux/prl-tools/default.nix
but it is not editable. I wonder if you meant something else?
Take a look at https://nixos.org/nixpkgs/manual/#chap-quick-start and https://nixos.org/nixpkgs/manual/#idm140737318579552 on how to make changes to Nixpkgs. Basically for a one time fix, you obtain a copy of nixpkgs, edit the file in question, and do a nix-env -i
or nix-build
or nixos-rebuild switch -I nixpkgs=path/to/nixpkgs
. I can't fix this issue without your help because I don't have access to prl-tools-lin.iso
.
@srid My pr downloads prl-tools automatically, but I think it's only been
merged into master so far (so you would have to cherry pick it into your own 17.09 fork). What version of parallels are you using? With my
PR you can override the version in your configuration.nix using nixpkgs overlays so it downloads
the correct one – I'll probably post an example at some point.
On Fri, Nov 24, 2017, 18:55 Sridhar Ratnakumar notifications@github.com
wrote:
@orivej https://github.com/orivej I located the file you must be
referring to here:
/nix/store/8nl96y7kw759aw7zlfxdck3bvrj95b31-nixos-17.09.2075.ac35504065/nixos/pkgs/os-specific/linux/prl-tools/default.nix
but it is not editable. I wonder if you meant something else?—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/NixOS/nixpkgs/issues/31882#issuecomment-346910176,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADWHbd0-YX9Aw1ibbgTRA_XU95SYREluks5s52WFgaJpZM4QlKwS
.>
Luke Adams
Getting this issue from: https://superuser.com/questions/1270304/installing-parallels-tools-on-nixos
Is this resolved yet?
Thank you for your contributions.
This has been automatically marked as stale because it has had no activity for 180 days.
If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.
Here are suggestions that might help resolve this more quickly:
still important to me
Is this fixed, any workaround?
Still waiting here too.
Most helpful comment
still important to me