I was also wondering, would this work: ```nix self: super: let sources = import ../nix/sources.nix; libPath = with super; lib.concatStringsSep ":" [ "${lib.getLib libgccjit}/lib/gcc/${stdenv.targetPlatform.config}/${libgccjit.version}" "${lib.getLib stdenv.cc.cc}/lib" "${lib.getLib stdenv.glibc}/lib" ]; in { emacsGccWrapped = super.symlinkJoin { name = "emacsGccWrapped"; paths = [ sources.emacs-overlay.emacsGcc ]; buildInputs = [ super.makeWrapper ]; postBuild = '' wrapProgram $out/bin/emacs \ --set LIBRARY_PATH ${libPath} ''; meta.platforms = super.stdenv.lib.platforms.linux; passthru.nativeComp = true; }; } // sources.emacs-overlay ```