devshell: Fix on darwin

This commit is contained in:
Jack O'Sullivan 2022-05-27 11:28:20 +01:00
parent 98fbbbd1e2
commit 4abfe4eaef

View File

@ -1,6 +1,6 @@
{ lib, pkgs, config, ... }:
let
inherit (lib) mapAttrsToList;
inherit (lib) mkIf mapAttrsToList;
inherit (lib.my) mkOpt;
parseArgs = opts:
@ -96,7 +96,7 @@ in
closeSocks
'';
};
vm-viewer = {
vm-viewer = mkIf (!pkgs.stdenv.isDarwin) {
help = "Access remote VM's display with virt-viewer";
packages = with pkgs; [ virt-viewer ];
script =