mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
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
1 changed files with 4 additions and 1 deletions
|
@ -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