jollheef / appvm

Nix-based app VMs
GNU General Public License v3.0
252 stars 18 forks source link

Can't start appvm #12

Closed veneramuholovka closed 4 years ago

veneramuholovka commented 4 years ago

Ubuntu 16.04

v@v-To-be-filled-by-O-E-M:~$ appvm list
Started VM:

Available VM:
     chromium
     firefox
v@v-To-be-filled-by-O-E-M:~$ appvm start chromium
trace: Default graphical session, 'xmonad', not found.
Valid names for 'services.xserver.displayManager.defaultSession' are:
  none+xmonad

error: The option value `services.xserver.displayManager.defaultSession' in `/home/v/.nix-defexpr/channels/nixpkgs/nixos/modules/services/x11/display-managers/default.nix' is not of type `session name'.
(use '--show-trace' to show detailed location information)
2020/01/14 15:46:28 <nil> [] []
2020/01/14 15:46:28 ret code: 1, out: [], err: []
jollheef commented 4 years ago

Hello,

Thank you for the bug report. It looks like https://github.com/NixOS/nixpkgs/issues/76684 is the root cause.

The workaround is to use the latest stable channel.

user@ubuntu1804:~$ nix-channel --add https://nixos.org/channels/nixos-19.09 nixpkgs
user@ubuntu1804:~$ nix-channel --update

After that Appvm should work as intended.

Please, confirm if it solves the issue.

veneramuholovka commented 4 years ago

Problem solved, thanks.