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 {
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
'';
};