From 301c74bc161dc48ba6059ab83338200dfad7cf79 Mon Sep 17 00:00:00 2001 From: michael bishop Date: Thu, 17 Dec 2015 08:10:16 -0400 Subject: [PATCH] nixos: improve mime DB cache generation (close #11785) --- nixos/modules/config/system-path.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/config/system-path.nix b/nixos/modules/config/system-path.nix index e14e4cf13147..f510b58842e4 100644 --- a/nixos/modules/config/system-path.nix +++ b/nixos/modules/config/system-path.nix @@ -128,7 +128,7 @@ in # !!! Hacky, should modularise. postBuild = '' - if [ -x $out/bin/update-mime-database -a -w $out/share/mime/packages ]; then + if [ -x $out/bin/update-mime-database -a -w $out/share/mime ]; then XDG_DATA_DIRS=$out/share $out/bin/update-mime-database -V $out/share/mime > /dev/null fi