File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change 953
953
paths = map ( name : rustCratePackages . ${ name } ) rustCrates ;
954
954
} ;
955
955
956
- builds = pkgs . symlinkJoin {
956
+ builds = ( pkgs . symlinkJoin ( {
957
957
name = "builds" ;
958
958
paths = with self . packages . ${ system } ; [
959
959
crates
960
- swift
961
960
wasm
962
961
android
963
962
rustdoc
963
+ ] ++ pkgs . lib . optionals pkgs . stdenv . isDarwin [
964
+ swift
964
965
] ;
966
+ } // pkgs . lib . optionalAttrs pkgs . stdenv . isDarwin {
965
967
__noChroot = true ;
966
968
__impure = true ;
967
- } ;
969
+ } ) ) ;
970
+
968
971
969
972
checks = pkgs . symlinkJoin {
970
973
name = "checks" ;
988
991
# checks is enough, or targetting a specific platform (crates,
989
992
# wasm, swift, android) if you are having issues with a specific
990
993
# build.
991
- everything = pkgs . symlinkJoin {
994
+ everything = ( pkgs . symlinkJoin ( {
992
995
name = "everything" ;
993
- __noChroot = true ;
994
- __impure = true ;
995
996
paths = with self . packages . ${ system } ; [
996
997
checks
997
998
builds
998
999
] ;
999
- } ;
1000
+ } // pkgs . lib . optionalAttrs pkgs . stdenv . isDarwin {
1001
+ __noChroot = true ;
1002
+ __impure = true ;
1003
+ } ) ) ;
1000
1004
1001
1005
default = self . packages . ${ system } . checks ;
1002
1006
}
You can’t perform that action at this time.
0 commit comments