mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
broot: use hjson-go
Reduces the build closure quite a bit.
This commit is contained in:
parent
7a3f0b3b8d
commit
f2d32e46fa
2 changed files with 3 additions and 3 deletions
|
|
@ -228,9 +228,9 @@ in {
|
|||
|
||||
programs.broot.settings = builtins.fromJSON (builtins.readFile
|
||||
(pkgs.runCommand "default-conf.json" {
|
||||
nativeBuildInputs = [ pkgs.hjson ];
|
||||
nativeBuildInputs = [ pkgs.hjson-go ];
|
||||
}
|
||||
"hjson -c ${cfg.package.src}/resources/default-conf/conf.hjson > $out"));
|
||||
"hjson-cli -c ${cfg.package.src}/resources/default-conf/conf.hjson > $out"));
|
||||
|
||||
programs.bash.initExtra = mkIf cfg.enableBashIntegration (shellInit "bash");
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
settings.modal = true;
|
||||
};
|
||||
|
||||
nixpkgs.overlays = [ (self: super: { inherit (realPkgs) broot hjson; }) ];
|
||||
nixpkgs.overlays = [ (self: super: { inherit (realPkgs) broot hjson-go; }) ];
|
||||
|
||||
nmt.script = ''
|
||||
assertFileExists home-files/.config/broot/conf.toml
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue