xdg-mime: more forcefully create directories

By installing two packages with the same directories we should force
`buildEnv` to generate real directories instead symlinks into the Nix
store.
This commit is contained in:
Robert Helgesson 2020-08-29 17:33:07 +02:00
parent 6cf6b587b5
commit 209fb62d49
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -29,7 +29,10 @@ in {
pkgs.shared-mime-info pkgs.shared-mime-info
# Make sure the target directories will be real directories. # 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} mkdir -p $out/share/{applications,mime/packages}
'') '')
]; ];