devshell: Fix on darwin
This commit is contained in:
parent
98fbbbd1e2
commit
4abfe4eaef
@ -1,6 +1,6 @@
|
|||||||
{ lib, pkgs, config, ... }:
|
{ lib, pkgs, config, ... }:
|
||||||
let
|
let
|
||||||
inherit (lib) mapAttrsToList;
|
inherit (lib) mkIf mapAttrsToList;
|
||||||
inherit (lib.my) mkOpt;
|
inherit (lib.my) mkOpt;
|
||||||
|
|
||||||
parseArgs = opts:
|
parseArgs = opts:
|
||||||
@ -96,7 +96,7 @@ in
|
|||||||
closeSocks
|
closeSocks
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
vm-viewer = {
|
vm-viewer = mkIf (!pkgs.stdenv.isDarwin) {
|
||||||
help = "Access remote VM's display with virt-viewer";
|
help = "Access remote VM's display with virt-viewer";
|
||||||
packages = with pkgs; [ virt-viewer ];
|
packages = with pkgs; [ virt-viewer ];
|
||||||
script =
|
script =
|
||||||
|
Loading…
Reference in New Issue
Block a user