From: Scott Worley Date: Mon, 3 Jun 2024 07:14:27 +0000 (-0700) Subject: Follow nixfmt rename X-Git-Url: http://git.scottworley.com/syncthing-autoregister/commitdiff_plain/3d5dc4c7560e98684e019aab15322dbae5720b2e?ds=inline;hp=42878a79796c387f3f38bf67cf83b30faf652af7 Follow nixfmt rename --- diff --git a/default.nix b/default.nix index 574d872..642a862 100644 --- a/default.nix +++ b/default.nix @@ -3,6 +3,8 @@ pkgs.lib.makeScope pkgs.newScope (self: with self; { - syncthing-set-id = callPackage ./pkgs/syncthing-set-id.nix { }; + syncthing-set-id = callPackage ./pkgs/syncthing-set-id.nix { + nixfmt = if pkgs.lib.version < "24.05" then pkgs.nixfmt else pkgs.nixfmt-classic; + }; })