Skip to content

Commit

Permalink
build-support/emacs: if nativeComp then inherit LIBRARY_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Joseph committed Jan 18, 2023
1 parent cd6b66d commit 44ba883
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkgs/build-support/emacs/wrapper.nix
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,12 @@ runCommand
# Store all paths we want to add to emacs here, so that we only need to add
# one path to the load lists
deps = runCommand "emacs-packages-deps"
{
({
inherit explicitRequires lndir emacs;
nativeBuildInputs = lib.optional nativeComp gcc;
}
} // lib.optionalAttrs nativeComp {
inherit (emacs) LIBRARY_PATH;
})
''
findInputsOld() {
local pkg="$1"; shift
Expand Down

0 comments on commit 44ba883

Please sign in to comment.