File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 hyperfsFromPkgs = pkgs :
1717 pkgs . callPackage ./src/pkgs/hyperfs { inherit libhc ; } ;
1818
19+ overlays = [
20+ ( import ./src/cross-overlays.nix )
21+ ] ;
22+
1923 in rec {
2024 hyperfs = hyperfsFromPkgs pkgs ;
2125
Original file line number Diff line number Diff line change 4343 } ;
4444 loongarch = {
4545 config = "loongarch64-linux-musl" ;
46+ gcc . arch = "loongarch64" ;
47+ gcc . abi = "lp64" ;
4648 } ;
4749}
Original file line number Diff line number Diff line change 2323 p11-kit = super . p11-kit . overrideAttrs { doCheck = false ; } ;
2424 } )
2525
26+ # Add musl support for loongarch64
27+ ( self : super : {
28+ musl = if super . stdenv . hostPlatform . config == "loongarch64-linux-musl"
29+ then super . musl . overrideAttrs ( oldAttrs : {
30+ meta = oldAttrs . meta // {
31+ platforms = oldAttrs . meta . platforms ++ [ "loongarch64-linux" ] ;
32+ badPlatforms = [ ] ;
33+ } ;
34+ } )
35+ else super . musl ;
36+ } )
37+
2638]
You can’t perform that action at this time.
0 commit comments