summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2022-11-15 19:21:14 +0100
committerGitHub <noreply@github.com>2022-11-15 19:21:14 +0100
commitf22e2fa83464131a7a5f2efe9766befb3c8a9ddf (patch)
treec6d7b074c91ae0ee46884f6a06539166beb45963
parentd7e25ced8a15554e3afb2eb9b1800de271efbd87 (diff)
parent117292f5d6b522825990bb4676a90e49061ebd98 (diff)
Merge pull request #55 from therishidesai/rdesai/add-mmcblk-support
add support for mmc blk devices
-rw-r--r--types.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/types.nix b/types.nix
index ba7aa2f..228052f 100644
--- a/types.nix
+++ b/types.nix
@@ -63,6 +63,7 @@ rec {
if match "/dev/disk/.*" dev != null then "dev_disk" else
if match "/dev/nvme.*" dev != null then "dev_nvme" else
if match "/dev/md/.*" dev != null then "dev_md" else
+ if match "/dev/mmcblk.*" dev != null then "dev_nvme" else
abort "${dev} seems not to be a supported disk format";
in schemas.${detectSchema};