Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(lang-js): fix Nix pkg by only linking the single ld-linux program
This fixes an issue where a Nix build phase now detects broken symlinks. This was happening by design as we were creating a symlink for both x86_64-linux and aarch64-linux systems no matter which system package was being built. The error was: ``` lang-js> ERROR: noBrokenSymlinks: the symlink /nix/store/yc5yb3cdvjyqzykwf4nz1w1aj9vxxxs9-lang-js/lib/ld-linux-x86-64.so.2 points to a missing target /nix/store /4j0ghmjl1hia5h4fx9szjz0zzlr4ck9b-glibc-2.40-66/lib/ld-linux-x86-64.so.2 lang-js> ERROR: noBrokenSymlinks: found 1 dangling symlinks and 0 reflexive symlinks error: builder for '/nix/store/qkdscpxj0ig5njnh39sbcwgyipiaxx1b-lang-js.drv' failed with exit code 1 ``` The fix provided here computes the appropriate file name for the given system and uses that when creating the symlink. Signed-off-by: Fletcher Nichol <[email protected]>
- Loading branch information