mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
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.
This commit is contained in:
parent
3e92b94120
commit
bf5acbc122
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user