nixops_unstable_{minimal,full}: fix missing nix after poetry update (#379417)

This commit is contained in:
Robert Hensing
2025-02-12 09:14:48 +01:00
committed by GitHub
@@ -25,7 +25,10 @@ buildPythonApplication rec {
};
postPatch = ''
substituteInPlace nixops/args.py --replace "@version@" "${version}-pre-${
substituteInPlace pyproject.toml --replace-fail \
'include = ["nix/*.nix", "nixops/py.typed" ]' \
'include = [ { path = "nix/*.nix", format = "wheel" }, { path = "nixops/py.typed", format = "wheel" } ]'
substituteInPlace nixops/args.py --replace-fail "@version@" "${version}-pre-${
lib.substring 0 7 src.rev or "dirty"
}"
'';