This is a multi-part MIME message sent by reportbug.
Package: erlang-hex
Version: 2.0.5-1+b1
Severity: important
Tags: patch
Dear Maintainer,
Currently, erlang-hex installs its library into /usr/lib/elixir/hex, so
Elixir cannot fint it (it searches /usr/lib/elixir/lib by default).
While it is possible to circumvent this bug by setting the environment
variable ERL_LIBS=/usr/lib/elixir/hex, I think it would be better to
place hex into /usr/lib/elixir/lib. The attached patch does exactly
that.
Also, I can do NMU with this patch if you find it appropriate.
-- System Information:
Debian Release: 12.5
APT prefers stable-security
APT policy: (500, 'stable-security'), (500, 'proposed-updates'), (500, 'stable'), (1, 'experimental'), (1, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.1.0-18-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
-- no debconf information
diff -Nru erlang-hex-2.0.5/debian/changelog erlang-hex-2.0.5/debian/changelog --- erlang-hex-2.0.5/debian/changelog 2023-09-20 12:02:13.000000000 +0300
+++ erlang-hex-2.0.5/debian/changelog 2024-03-07 14:19:36.000000000 +0300
@@ -1,3 +1,11 @@
+erlang-hex (2.0.5-1.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Install the package into /usr/lib/elixir/lib instead of
+ /usr/lib/elixir/hex (closes: #-1).
+
+ -- Sergei Golovan <
sgolovan@debian.org> Thu, 07 Mar 2024 14:19:36 +0300
+
erlang-hex (2.0.5-1) unstable; urgency=medium
* New upstream version.
diff -Nru erlang-hex-2.0.5/debian/erlang-hex.install erlang-hex-2.0.5/debian/erlang-hex.install
--- erlang-hex-2.0.5/debian/erlang-hex.install 2022-11-20 18:09:06.000000000 +0300
+++ erlang-hex-2.0.5/debian/erlang-hex.install 2024-03-07 14:17:54.000000000 +0300
@@ -1 +1 @@
-_build/install/hex/ usr/lib/elixir/
+_build/install/hex/hex/ usr/lib/elixir/lib/
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)