mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
broot: remove unnecessary IFD
This commit is contained in:
parent
68ba595783
commit
e314f6cf21
1 changed files with 5 additions and 4 deletions
|
@ -211,9 +211,6 @@ in {
|
|||
source = pkgs.symlinkJoin {
|
||||
name = "xdg.configFile.broot";
|
||||
paths = [
|
||||
(pkgs.writeTextDir "conf.toml" (builtins.readFile
|
||||
(tomlFormat.generate "broot-config" cfg.settings)))
|
||||
|
||||
# Copy all files under /resources/default-conf
|
||||
"${cfg.package.src}/resources/default-conf"
|
||||
|
||||
|
@ -221,8 +218,12 @@ in {
|
|||
(pkgs.writeTextDir "launcher/installed-v1" "")
|
||||
];
|
||||
|
||||
# Remove conf.hjson, whose content has been merged into programs.broot.settings
|
||||
postBuild = ''
|
||||
ln -s ${
|
||||
tomlFormat.generate "broot-config" cfg.settings
|
||||
} $out/conf.toml
|
||||
|
||||
# Remove conf.hjson, whose content has been merged into programs.broot.settings
|
||||
rm $out/conf.hjson
|
||||
'';
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue