From 43170c0081c7c183f1e832896e36f75847d18ee1 Mon Sep 17 00:00:00 2001 From: Martin Kourim Date: Thu, 26 Oct 2023 14:15:42 +0200 Subject: [PATCH] Lock poetry2nix to a working version until issue 1366 is fixed See https://github.com/nix-community/poetry2nix/issues/1366 and https://github.com/nix-community/poetry2nix/pull/1368 --- .github/nix_override_cardano_node.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/nix_override_cardano_node.sh b/.github/nix_override_cardano_node.sh index e7963cea2..47bc21737 100644 --- a/.github/nix_override_cardano_node.sh +++ b/.github/nix_override_cardano_node.sh @@ -12,5 +12,9 @@ node_override() { # otherwise update to latest from default branch ref="" fi - echo --override-input cardano-node "github:input-output-hk/cardano-node$ref" --recreate-lock-file + + #TODO: remove this workaround as soon as https://github.com/nix-community/poetry2nix/pull/1368 is merged + poetry2nix_ref=("--override-input" "poetry2nix" "github:nix-community/poetry2nix/026032a8b4e6e948c608de0fc559c6d0256e6117") + + echo --override-input cardano-node "github:input-output-hk/cardano-node$ref" "${poetry2nix_ref[@]}" --recreate-lock-file }