From bf5acbc122031d4e0756c0372f504468de8f1d55 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Sat, 28 May 2022 00:41:18 +0200 Subject: openldap: make extraContribModules actually overrideable By using the build environment instead of relying on rec, using overrideAttrs to change the value of extraContribModules will actually have an effect. --- pkgs/development/libraries/openldap/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs') diff --git a/pkgs/development/libraries/openldap/default.nix b/pkgs/development/libraries/openldap/default.nix index c57aa560fc2..1f7bbb41c36 100644 --- a/pkgs/development/libraries/openldap/default.nix +++ b/pkgs/development/libraries/openldap/default.nix @@ -81,7 +81,7 @@ stdenv.mkDerivation rec { ]; postBuild = '' - for module in ${lib.concatStringsSep " " extraContribModules}; do + for module in $extraContribModules; do make $makeFlags CC=$CC -C contrib/slapd-modules/$module done ''; @@ -105,7 +105,7 @@ stdenv.mkDerivation rec { ]; postInstall = '' - for module in ${lib.concatStringsSep " " extraContribModules}; do + for module in $extraContribModules; do make $installFlags install -C contrib/slapd-modules/$module done chmod +x "$out"/lib/*.{so,dylib} -- cgit 1.4.1