Skip to content

Commit 1342a23

Browse files
authored
openvpn-auth-ldap: unpin LLVM17 (#373193)
1 parent a8bbac6 commit 1342a23

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

pkgs/tools/networking/openvpn/openvpn-auth-ldap.nix

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ stdenv.mkDerivation rec {
3131
})
3232
];
3333

34+
# clang > 17 dropped support for `-export-dynamic` but `-rdynamic` does the
35+
# same thing
36+
postPatch = ''
37+
substituteInPlace platform.m4 \
38+
--replace-fail -export-dynamic -rdynamic
39+
'';
40+
3441
nativeBuildInputs = [
3542
autoreconfHook
3643
gnustep.base

pkgs/top-level/all-packages.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4550,7 +4550,7 @@ with pkgs;
45504550
openvpn_learnaddress = callPackage ../tools/networking/openvpn/openvpn_learnaddress.nix { };
45514551

45524552
openvpn-auth-ldap = callPackage ../tools/networking/openvpn/openvpn-auth-ldap.nix {
4553-
inherit (llvmPackages_17) stdenv;
4553+
inherit (llvmPackages) stdenv;
45544554
};
45554555

45564556
namespaced-openvpn = python3Packages.callPackage ../tools/networking/namespaced-openvpn { };

0 commit comments

Comments
 (0)