mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-06 04:53:27 +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
700 B
Diff
26 lines
700 B
Diff
From 29b58e29c813d9bf0b31139a19b556614c28638e Mon Sep 17 00:00:00 2001
|
|
From: Flakebi <flakebi@t-online.de>
|
|
Date: Sat, 2 Dec 2023 16:26:22 +0100
|
|
Subject: [PATCH 1/6] Fix flask 2.3 issue
|
|
|
|
'Blueprint' object has no attribute 'before_app_first_request'
|
|
---
|
|
powerdnsadmin/routes/index.py | 1 -
|
|
1 file changed, 1 deletion(-)
|
|
|
|
diff --git a/powerdnsadmin/routes/index.py b/powerdnsadmin/routes/index.py
|
|
index d56ce61..2176bd6 100644
|
|
--- a/powerdnsadmin/routes/index.py
|
|
+++ b/powerdnsadmin/routes/index.py
|
|
@@ -46,7 +46,6 @@ index_bp = Blueprint('index',
|
|
url_prefix='/')
|
|
|
|
|
|
-@index_bp.before_app_first_request
|
|
def register_modules():
|
|
global google
|
|
global github
|
|
--
|
|
2.42.0
|
|
|