pgadmin4: move to by-name

(cherry picked from commit a85e9001f3)
This commit is contained in:
jopejoe1
2025-08-21 09:17:41 +02:00
committed by Felix Singer
parent dfe6a4a4ff
commit 62a639d555
6 changed files with 3 additions and 5 deletions

View File

@@ -52,12 +52,12 @@ fi
printf "Done\n"
if [[ -f missing-hashes.json ]]; then
if [[ ! -f "$nixpkgs/pkgs/tools/admin/pgadmin/missing-hashes.json" ]]; then
if [[ ! -f "$nixpkgs/pkgs/by-name/pg/pgadmin4/missing-hashes.json" ]]; then
printf "PLEASE NOTE: FIRST TIME OF FINDING MISSING HASHES!"
printf "Please add \"missingHashes = ./missing-hashes.json\" to pgadmin derivation"
fi
printf "Copy files to nixpkgs\n"
cp missing-hashes.json "$nixpkgs/pkgs/tools/admin/pgadmin/"
cp missing-hashes.json "$nixpkgs/pkgs/by-name/pg/pgadmin4"
fi
printf "Done\n"

View File

@@ -16535,9 +16535,7 @@ with pkgs;
resp-app = libsForQt5.callPackage ../applications/misc/resp-app { };
pgadmin4 = callPackage ../tools/admin/pgadmin { };
pgadmin4-desktopmode = callPackage ../tools/admin/pgadmin { server-mode = false; };
pgadmin4-desktopmode = pgadmin4.override { server-mode = false; };
pgmodeler = qt6Packages.callPackage ../applications/misc/pgmodeler { };