diff --git a/modules/misc/xdg-mime.nix b/modules/misc/xdg-mime.nix index 598cab91..5999e129 100644 --- a/modules/misc/xdg-mime.nix +++ b/modules/misc/xdg-mime.nix @@ -29,7 +29,10 @@ in { pkgs.shared-mime-info # Make sure the target directories will be real directories. - (pkgs.runCommandLocal "dummy-xdg-mime-dirs" { } '' + (pkgs.runCommandLocal "dummy-xdg-mime-dirs1" { } '' + mkdir -p $out/share/{applications,mime/packages} + '') + (pkgs.runCommandLocal "dummy-xdg-mime-dirs2" { } '' mkdir -p $out/share/{applications,mime/packages} '') ];