mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-10 15:04:44 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
26 lines
888 B
Diff
26 lines
888 B
Diff
From 8c320a34bcca6dc2c1b423a1445235bf178b653e Mon Sep 17 00:00:00 2001
|
|
From: Flakebi <flakebi@t-online.de>
|
|
Date: Sat, 2 Dec 2023 16:31:02 +0100
|
|
Subject: [PATCH 3/6] Fix flask-migrate 4.0 compatibility
|
|
|
|
See https://github.com/PowerDNS-Admin/PowerDNS-Admin/issues/1376
|
|
---
|
|
migrations/env.py | 1 -
|
|
1 file changed, 1 deletion(-)
|
|
|
|
diff --git a/migrations/env.py b/migrations/env.py
|
|
index 4742e14..739d753 100755
|
|
--- a/migrations/env.py
|
|
+++ b/migrations/env.py
|
|
@@ -73,7 +73,6 @@ def run_migrations_online():
|
|
context.configure(connection=connection,
|
|
target_metadata=target_metadata,
|
|
process_revision_directives=process_revision_directives,
|
|
- render_as_batch=config.get_main_option('sqlalchemy.url').startswith('sqlite:'),
|
|
**current_app.extensions['migrate'].configure_args)
|
|
|
|
try:
|
|
--
|
|
2.42.0
|
|
|