about summary refs log tree commit diff
path: root/pkgs/development/tools/swiftpm2nix/support.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/swiftpm2nix/support.nix')
-rw-r--r--pkgs/development/tools/swiftpm2nix/support.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/tools/swiftpm2nix/support.nix b/pkgs/development/tools/swiftpm2nix/support.nix
index 94076517ebfcf..3c8e597f25eaf 100644
--- a/pkgs/development/tools/swiftpm2nix/support.nix
+++ b/pkgs/development/tools/swiftpm2nix/support.nix
@@ -6,7 +6,7 @@ in rec {
 
   # Derive a pin file from workspace state.
   mkPinFile = workspaceState:
-    assert workspaceState.version == 5;
+    assert workspaceState.version >= 5 && workspaceState.version <= 6;
     json.generate "Package.resolved" {
       version = 1;
       object.pins = map (dep: {