packages/sssd: remove gcc reference

This commit is contained in:
Max Headroom 2022-05-27 17:20:36 +02:00
parent 1003f039a7
commit ce7c30c832

View file

@ -12,7 +12,12 @@ super: rec {
lain-ipfs = patch-rename (super.ipfs_latest or super.ipfs) "lain-ipfs" "patches/base/ipfs";
sssd = super.sssd.override { withSudo = true; };
sssd = (super.sssd.override { withSudo = true; }).overrideAttrs (old: {
postFixup = (old.postFixup or "") + ''
${super.removeReferencesTo}/bin/remove-references-to -t ${super.stdenv.cc.cc} $out/modules/ldb/memberof.so
'';
disallowedReferences = [ super.stdenv.cc.cc ];
});
jre17_standard = super.jre_minimal.override {
jdk = super.jdk17_headless;