summary refs log tree commit diff
path: root/pkgs/top-level/unix-tools.nix
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-04-12 17:17:26 -0500
committerMatthew Bauer <mjbauer95@gmail.com>2018-04-12 17:17:26 -0500
commit1914ef6040cee60b6dde0654b1080e8d29c78aeb (patch)
tree535bb8c936d929e111f553d4012218341962e038 /pkgs/top-level/unix-tools.nix
parent5c491ab529d475f1ae843e5abafae7e782385461 (diff)
downloadnixpkgs-1914ef6040cee60b6dde0654b1080e8d29c78aeb.tar
nixpkgs-1914ef6040cee60b6dde0654b1080e8d29c78aeb.tar.gz
nixpkgs-1914ef6040cee60b6dde0654b1080e8d29c78aeb.tar.bz2
nixpkgs-1914ef6040cee60b6dde0654b1080e8d29c78aeb.tar.lz
nixpkgs-1914ef6040cee60b6dde0654b1080e8d29c78aeb.tar.xz
nixpkgs-1914ef6040cee60b6dde0654b1080e8d29c78aeb.tar.zst
nixpkgs-1914ef6040cee60b6dde0654b1080e8d29c78aeb.zip
unixtools: add mount, umount for darwin
Diffstat (limited to 'pkgs/top-level/unix-tools.nix')
-rw-r--r--pkgs/top-level/unix-tools.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/top-level/unix-tools.nix b/pkgs/top-level/unix-tools.nix
index 2d62d4e6c64..3041ef4f16b 100644
--- a/pkgs/top-level/unix-tools.nix
+++ b/pkgs/top-level/unix-tools.nix
@@ -69,6 +69,7 @@ in rec {
   };
   mount = singleBinary "mount" {
     linux = pkgs.utillinux;
+    darwin = pkgs.darwin.diskdev_cmds;
   };
   netstat = singleBinary "netstat" {
     linux = pkgs.nettools;
@@ -96,6 +97,7 @@ in rec {
   };
   umount = singleBinary "umount" {
     linux = pkgs.utillinux;
+    darwin = pkgs.darwin.diskdev_cmds;
   };
   whereis = singleBinary "whereis" {
     linux = pkgs.utillinux;