Skip to content

Commit

Permalink
zed-editor_git: patch nodejs in extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
PedroHLC committed May 17, 2024
1 parent f6b6f00 commit e773048
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/zed-editor-git/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ gitOverride {
};

postOverride = prevAttrs: {
postPatch = (prevAttrs.postPatch or "") + ''
sed -i"" 's+zed::node_binary_path()?+"${final.nodejs_18}"+g' extensions/*/src/*.rs
'';
env = prevAttrs.env // { OPENSSL_NO_VENDOR = 1; };
};
}

2 comments on commit e773048

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All packages were built and cached successfully! (326 not suitable for building)

@PedroHLC
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This had zero effect since we're not building the extensions 😓
I'll either revert it later, or build the extensions into a separated output…

Please sign in to comment.