1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-02 16:09:46 +01:00

broot: remove unnecessary IFD

This commit is contained in:
amesgen 2023-03-05 13:08:09 +01:00
parent 68ba595783
commit e314f6cf21
No known key found for this signature in database
GPG key ID: 1A89EC203635A13D

View file

@ -211,9 +211,6 @@ in {
source = pkgs.symlinkJoin { source = pkgs.symlinkJoin {
name = "xdg.configFile.broot"; name = "xdg.configFile.broot";
paths = [ paths = [
(pkgs.writeTextDir "conf.toml" (builtins.readFile
(tomlFormat.generate "broot-config" cfg.settings)))
# Copy all files under /resources/default-conf # Copy all files under /resources/default-conf
"${cfg.package.src}/resources/default-conf" "${cfg.package.src}/resources/default-conf"
@ -221,8 +218,12 @@ in {
(pkgs.writeTextDir "launcher/installed-v1" "") (pkgs.writeTextDir "launcher/installed-v1" "")
]; ];
# Remove conf.hjson, whose content has been merged into programs.broot.settings
postBuild = '' 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 rm $out/conf.hjson
''; '';
}; };