Conversation
|
|
Considering the only thing depending on it - |
|
Guile maintainers didn't even update the main Guile binding to 3.0.11 due to failing Guix builds: https://codeberg.org/guix/guix/src/commit/5a08363c9ff09c5e6be2fa7b182e2ad13b9689de/gnu/packages/guile.scm#L523-L526 |
|
I do not think it matters for The only relevant thing that changed during that So it seems to be a matter of figuring out how This also seems to work, thought not sure why or if that is a "proper" solution: diff --git a/pkgs/by-name/gu/guile-zlib/package.nix b/pkgs/by-name/gu/guile-zlib/package.nix
index 3815bb8b52..708668b705 100644
--- a/pkgs/by-name/gu/guile-zlib/package.nix
+++ b/pkgs/by-name/gu/guile-zlib/package.nix
@@ -29,7 +29,7 @@
texinfo
];
buildInputs = [ guile ];
- propagatedBuildInputs = [ zlib ];
+ propagatedBuildInputs = [ (zlib.override { static = false; }) ];
makeFlags = [ "GUILE_AUTO_COMPILE=0" ];
doCheck = true;Similar to #493695 |
worth including in #490999? |
|
Not sure if this is strictly a I looked a bit more into what
PKG_CHECK_MODULES([LIBZ], [zlib])
AC_MSG_CHECKING([libz library directory])
PKG_CHECK_VAR([LIBZ_LIBDIR], [zlib], [libdir])
AC_MSG_RESULT([$LIBZ_LIBDIR])
AS_IF([test "x$LIBZ_LIBDIR" = "x"], [
AC_MSG_FAILURE([Unable to identify libz lib path.])
])
AC_SUBST([LIBZ_LIBDIR])
It just loads
(define-module (zlib config)
#:export (%libz))
(define %libz
"/nix/store/njwanmygmqc5vdhx22mnipiihqp39ysr-zlib-1.3.1-static/lib/libz")
(define %zlib
(delay (dynamic-link %libz)))
Pointing it directly to correct path with env var seems to work: --- a/pkgs/by-name/gu/guile-zlib/package.nix
+++ b/pkgs/by-name/gu/guile-zlib/package.nix
@@ -32,6 +32,8 @@
propagatedBuildInputs = [ zlib ];
makeFlags = [ "GUILE_AUTO_COMPILE=0" ];
+ env.LIBZ_LIBDIR = "${lib.getLib zlib}/lib";
+
doCheck = true;
meta = {Might be a better solution than |
|
Superseded by #497498 |
Resolves #493503
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.