From 95e4dd69a2df90d2716bac14d6c875fb0475283b Mon Sep 17 00:00:00 2001 From: Philip Taron Date: Fri, 3 May 2024 16:16:21 -0700 Subject: [PATCH] swiftpm2nix: avoid top-level `with` in support module (#308838) These functions are accessed from the following attrset paths: - `swiftpm2nix.mkPinFile` - `swiftpm2nix.helpers.sources` - `swiftpm2nix.helpers.configure` --- pkgs/development/tools/swiftpm2nix/support.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/tools/swiftpm2nix/support.nix b/pkgs/development/tools/swiftpm2nix/support.nix index dfc2d01a4501..3debda233c5f 100644 --- a/pkgs/development/tools/swiftpm2nix/support.nix +++ b/pkgs/development/tools/swiftpm2nix/support.nix @@ -1,6 +1,6 @@ { lib, fetchgit, formats }: -with lib; let + inherit (lib) concatStrings listToAttrs makeOverridable mapAttrsToList nameValuePair; json = formats.json { }; in rec {