From 27b4c1f70e11a98d801bdf1b644cdd4c1c3bd80c Mon Sep 17 00:00:00 2001 From: David McFarland Date: Tue, 4 Feb 2025 16:55:37 -0400 Subject: [PATCH] nixops_unstable_{minimal,full}: fix missing nix after poetry update --- pkgs/applications/networking/cluster/nixops/unwrapped.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/networking/cluster/nixops/unwrapped.nix b/pkgs/applications/networking/cluster/nixops/unwrapped.nix index 4527ed9121e0..9ac608bb8ff7 100644 --- a/pkgs/applications/networking/cluster/nixops/unwrapped.nix +++ b/pkgs/applications/networking/cluster/nixops/unwrapped.nix @@ -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" }" '';