apache-airflow: fixes to update scripts
adapt to package's new location
This commit is contained in:
parent
074dea1e11
commit
4261569412
@ -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
|
||||
|
@ -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]]:
|
||||
|
Loading…
Reference in New Issue
Block a user