diff --git a/dev/dev.sh b/dev/dev.sh index 125561c..2e50447 100644 --- a/dev/dev.sh +++ b/dev/dev.sh @@ -82,6 +82,7 @@ read -rd '' src <<'EOF' || : inherit (nix-bitcoin.inputs) nixpkgs; # legacyInstallDirs = true; config = { + imports = [ ../test/lib/extra-container-workaround.nix ]; containers.nb-adhoc = { # bindMounts."/shared" = { hostPath = "/my/hostpath"; isReadOnly = false; }; extra.addressPrefix = "10.200.255"; diff --git a/examples/container/flake.nix b/examples/container/flake.nix index 64bac2f..e20e4b2 100644 --- a/examples/container/flake.nix +++ b/examples/container/flake.nix @@ -31,6 +31,9 @@ # legacyInstallDirs = true; config = { + # See the file for why this is needed and when it can be removed + imports = [ (nix-bitcoin.outPath + "/test/lib/extra-container-workaround.nix") ]; + containers.mynode = { # Always start container along with the container host autoStart = true; diff --git a/examples/deploy-container.sh b/examples/deploy-container.sh index 9ec0bc1..8a9bb9d 100755 --- a/examples/deploy-container.sh +++ b/examples/deploy-container.sh @@ -75,6 +75,8 @@ fi # read -rd '' src <