]> git.scottworley.com Git - syncthing-autoregister/commitdiff
Follow nixfmt rename
authorScott Worley <scottworley@scottworley.com>
Mon, 3 Jun 2024 07:14:27 +0000 (00:14 -0700)
committerScott Worley <scottworley@scottworley.com>
Mon, 3 Jun 2024 07:14:27 +0000 (00:14 -0700)
default.nix

index 574d8725d68b4cce2daca5f1ba5b2a350391ad0b..642a862ee9a75f8deabadb4bdb720944a7b32e8d 100644 (file)
@@ -3,6 +3,8 @@
 pkgs.lib.makeScope pkgs.newScope (self:
   with self; {
 
 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;
+    };
 
   })
 
   })