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:
parent
6cf6b587b5
commit
209fb62d49
|
@ -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}
|
||||
'')
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue