diff --git a/devshell/commands.nix b/devshell/commands.nix index 7a261c6..b708660 100644 --- a/devshell/commands.nix +++ b/devshell/commands.nix @@ -52,7 +52,7 @@ in name = "json2nix"; category = "utilities"; help = "Convert JSON to formatted Nix"; - command = "nix eval --impure --expr 'builtins.fromJSON (builtins.readFile /dev/stdin)' | ${pkgs.nixfmt}/bin/nixfmt"; + command = "nix eval --impure --expr 'builtins.fromJSON (builtins.readFile /dev/stdin)' | ${pkgs.nixfmt}/bin/nixfmt -"; } {