diff options
author | Silvan Mosberger <infinisil@icloud.com> | 2019-05-27 18:18:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-27 18:18:54 +0200 |
commit | e383ed6a2d18967f3ee6f16023ef23a2379279dd (patch) | |
tree | cc56daf361350f3edc2eb5408bac671a501fcc3d /nixos | |
parent | 254cccd22dc01836ebd420a2b0dfbf708fd82e64 (diff) | |
parent | 2400191caf15fec9b6376ca99c555f09df31d294 (diff) |
nixos/xdg/mime: disable fdatasync when building the XDG MIME database (#62076)
nixos/xdg/mime: disable fdatasync when building the XDG MIME database
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/config/xdg/mime.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/config/xdg/mime.nix b/nixos/modules/config/xdg/mime.nix index cd1064630fbcc..a5374c2b468da 100644 --- a/nixos/modules/config/xdg/mime.nix +++ b/nixos/modules/config/xdg/mime.nix @@ -24,7 +24,7 @@ with lib; environment.extraSetup = '' if [ -w $out/share/mime ] && [ -d $out/share/mime/packages ]; then - XDG_DATA_DIRS=$out/share ${pkgs.buildPackages.shared-mime-info}/bin/update-mime-database -V $out/share/mime > /dev/null + XDG_DATA_DIRS=$out/share PKGSYSTEM_ENABLE_FSYNC=0 ${pkgs.buildPackages.shared-mime-info}/bin/update-mime-database -V $out/share/mime > /dev/null fi if [ -w $out/share/applications ]; then |