apache-airflow: fixes to update scripts

adapt to package's new location
This commit is contained in:
Robert Scott 2023-08-28 16:18:26 +01:00
parent 074dea1e11
commit 4261569412
2 changed files with 2 additions and 2 deletions

View File

@ -288,7 +288,7 @@ buildPythonPackage rec {
update-source-version ${pname} "$new_version"
# Update frontend
cd ./pkgs/development/python-modules/apache-airflow
cd ./pkgs/servers/apache-airflow
curl -O https://raw.githubusercontent.com/apache/airflow/$new_version/airflow/www/yarn.lock
curl -O https://raw.githubusercontent.com/apache/airflow/$new_version/airflow/www/package.json
yarn2nix > yarn.nix

View File

@ -46,7 +46,7 @@ def get_file_from_github(version: str, path: str):
def repository_root() -> Path:
return Path(os.path.dirname(sys.argv[0])) / "../../../.."
return Path(os.path.dirname(sys.argv[0])) / "../../.."
def dump_packages() -> Dict[str, Dict[str, str]]: