summary refs log tree commit diff
path: root/pkgs/development/libraries/gnutls
diff options
context:
space:
mode:
authorKasper <kasgal@posteo.net>2021-04-16 08:48:27 +0200
committerGitHub <noreply@github.com>2021-04-16 07:48:27 +0100
commit54a942426e6b62c0501e0b11f53ee4b4acb5c1a4 (patch)
tree2ff109f7ceba4757273992299dcf94e6b5c17f55 /pkgs/development/libraries/gnutls
parentec050f16d4b20a7a9f3904726fa5a0c262d963ae (diff)
downloadnixpkgs-54a942426e6b62c0501e0b11f53ee4b4acb5c1a4.tar
nixpkgs-54a942426e6b62c0501e0b11f53ee4b4acb5c1a4.tar.gz
nixpkgs-54a942426e6b62c0501e0b11f53ee4b4acb5c1a4.tar.bz2
nixpkgs-54a942426e6b62c0501e0b11f53ee4b4acb5c1a4.tar.lz
nixpkgs-54a942426e6b62c0501e0b11f53ee4b4acb5c1a4.tar.xz
nixpkgs-54a942426e6b62c0501e0b11f53ee4b4acb5c1a4.tar.zst
nixpkgs-54a942426e6b62c0501e0b11f53ee4b4acb5c1a4.zip
gnutls: fix build with musl (#119569)
* gnutls: fix build with musl

* gnutls: don't handle old versions

Co-authored-by: Kasper GaƂkowski <kpg@posteo.net>
Diffstat (limited to 'pkgs/development/libraries/gnutls')
-rw-r--r--pkgs/development/libraries/gnutls/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/gnutls/default.nix b/pkgs/development/libraries/gnutls/default.nix
index 2b3e873cc59..bec366b8e16 100644
--- a/pkgs/development/libraries/gnutls/default.nix
+++ b/pkgs/development/libraries/gnutls/default.nix
@@ -47,7 +47,7 @@ stdenv.mkDerivation {
     sed '/^void doit(void)/,/^{/ s/{/{ exit(77);/' -i tests/{trust-store,psk-file}.c
     sed 's:/usr/lib64/pkcs11/ /usr/lib/pkcs11/ /usr/lib/x86_64-linux-gnu/pkcs11/:`pkg-config --variable=p11_module_path p11-kit-1`:' -i tests/p11-kit-trust.sh
   '' + lib.optionalString stdenv.hostPlatform.isMusl '' # See https://gitlab.com/gnutls/gnutls/-/issues/945
-    sed '2iecho "certtool tests skipped in musl build"\nexit 0' -i tests/cert-tests/certtool
+    sed '2iecho "certtool tests skipped in musl build"\nexit 0' -i tests/cert-tests/certtool.sh
   '';
 
   preConfigure = "patchShebangs .";