Skip to content

deno: various build fixes - #596420

Open
reckenrode wants to merge 3 commits into
NixOS:stagingfrom
reckenrode:push-mqnpvkzzrxrt
Open

reckenrode wants to merge 3 commits into
NixOS:stagingfrom
reckenrode:push-mqnpvkzzrxrt

Conversation

@reckenrode

Copy link
Copy Markdown
Contributor

This PR fixes building Deno with Clang 23, Rust 1.100 (due to the Cargo build-dir v2 changes), and on Darwin because it’s started installing deno.dSYM to $out/bin for some reason.

The Clang 23 fix can be dropped once Deno is bumped to a newer version that already has the correct symbols.

Things done

Unfortunately, there is not currently a supported way to get artifacts
from the build directories. The only thing we can do is update the
build’s install phase to get them from the new location.

See:
- https://blog.rust-lang.org/2026/03/13/call-for-testing-build-dir-layout-v2/
- rust-lang/cargo#13663
Fixes the following errors:

    error[E0425]: cannot find value `v8_String_WriteFlags_kNullTerminate` in module `crate::binding`
    error[E0425]: cannot find value `v8_String_WriteFlags_kReplaceInvalidUtf8` in module `crate::binding`
@nixpkgs-ci nixpkgs-ci Bot added the 2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". label Dec 2, 2026
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 101-500 This PR causes between 101 and 500 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. labels Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 101-500 This PR causes between 101 and 500 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant