From d1381eb21c8923597ff5920a8aab16cdf53285b8 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Sat, 15 Mar 2025 21:50:00 +0100 Subject: T5400: initialize OPAM environment where it's really needed --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debian') diff --git a/debian/rules b/debian/rules index 8d4a32b..99a5ee2 100755 --- a/debian/rules +++ b/debian/rules @@ -11,7 +11,7 @@ VYCONF_DEF := etc/vyos dh $@ --with quilt override_dh_auto_build: - ./build.sh $(DIR) + eval $$(opam env --root=/opt/opam --set-root) && ./build.sh $(DIR) override_dh_auto_install: mkdir -p $(DIR)/$(VYCONF_CONF) -- cgit v1.2.3