diff --git a/modules/bin/nix-scripts.nix b/modules/bin/nix-scripts.nix index 2be343e..c127de3 100644 --- a/modules/bin/nix-scripts.nix +++ b/modules/bin/nix-scripts.nix @@ -86,9 +86,10 @@ ${pkgs.git}/bin/git switch "$branch_current" fi - nix store diff-closures \ + nix store --log-format internal-json -v diff-closures \ '.?ref='"$branch_current"'#nixosConfigurations.'"$(${pkgs.hostname}/bin/hostname)"'.config.system.build.toplevel' \ - '.?ref='"$branch_staging"'#nixosConfigurations.'"$(${pkgs.hostname}/bin/hostname)"'.config.system.build.toplevel' + '.?ref='"$branch_staging"'#nixosConfigurations.'"$(${pkgs.hostname}/bin/hostname)"'.config.system.build.toplevel' \ + |& ${pkgs.nom}/bin/nom --json popd '';