From 3d5dc4c7560e98684e019aab15322dbae5720b2e Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Mon, 3 Jun 2024 00:14:27 -0700 Subject: [PATCH] Follow nixfmt rename --- default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; + }; }) -- 2.44.1