summary refs log tree commit diff
path: root/pkgs/build-support
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2023-04-28 13:21:42 +0300
committerGitHub <noreply@github.com>2023-04-28 13:21:42 +0300
commitb2ef7956b631118c98f2e3de2f7594f6f844230c (patch)
tree480e7be099f871d7a7616f392a3a548e7491e336 /pkgs/build-support
parentc0f57c1d2359234280f2b6d47ff220f58c19c53d (diff)
parent15e3a50bd354dfa561eaae222159832829834f65 (diff)
downloadnixpkgs-b2ef7956b631118c98f2e3de2f7594f6f844230c.tar
nixpkgs-b2ef7956b631118c98f2e3de2f7594f6f844230c.tar.gz
nixpkgs-b2ef7956b631118c98f2e3de2f7594f6f844230c.tar.bz2
nixpkgs-b2ef7956b631118c98f2e3de2f7594f6f844230c.tar.lz
nixpkgs-b2ef7956b631118c98f2e3de2f7594f6f844230c.tar.xz
nixpkgs-b2ef7956b631118c98f2e3de2f7594f6f844230c.tar.zst
nixpkgs-b2ef7956b631118c98f2e3de2f7594f6f844230c.zip
Merge pull request #227560 from jackyliu16/loongnix-commit
lib.platforms.loongarch64: init
Diffstat (limited to 'pkgs/build-support')
-rw-r--r--pkgs/build-support/bintools-wrapper/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/build-support/bintools-wrapper/default.nix b/pkgs/build-support/bintools-wrapper/default.nix
index 0a4ea1ebf26..acc433496b0 100644
--- a/pkgs/build-support/bintools-wrapper/default.nix
+++ b/pkgs/build-support/bintools-wrapper/default.nix
@@ -88,6 +88,7 @@ let
     else if targetPlatform.isMips                     then "${sharedLibraryLoader}/lib/ld.so.1"
     # `ld-linux-riscv{32,64}-<abi>.so.1`
     else if targetPlatform.isRiscV                    then "${sharedLibraryLoader}/lib/ld-linux-riscv*.so.1"
+    else if targetPlatform.isLoongArch64              then "${sharedLibraryLoader}/lib/ld-linux-loongarch*.so.1"
     else if targetPlatform.isDarwin                   then "/usr/lib/dyld"
     else if targetPlatform.isFreeBSD                  then "/libexec/ld-elf.so.1"
     else if lib.hasSuffix "pc-gnu" targetPlatform.config then "ld.so.1"