Compare commits

...

4 Commits

Author SHA1 Message Date
Evgeny Poberezkin
855004840e
Merge branch 'stable' into angerman/both-compilers 2024-02-17 18:02:35 +00:00
Evgeny Poberezkin
ba954e4faa
Merge branch 'master' into angerman/both-compilers 2024-01-24 22:50:59 +00:00
Evgeny Poberezkin
f624ff18cc
Merge branch 'master' into angerman/both-compilers 2024-01-23 09:12:39 +00:00
Moritz Angermann
dbdbbbdbb3 964 everywhere. 2024-01-22 02:06:12 +00:00

View File

@ -29,8 +29,8 @@
}; in
# `appendOverlays` with a singleton is identical to `extend`.
let pkgs = haskellNix.legacyPackages.${system}.appendOverlays [android26]; in
let drv' = { extra-modules, pkgs', ... }: pkgs'.haskell-nix.project {
compiler-nix-name = "ghc963";
let drv' = { extra-modules, pkgs', compiler-nix-name, ... }: pkgs'.haskell-nix.project {
inherit compiler-nix-name;
index-state = "2023-12-12T00:00:00Z";
# We need this, to specify we want the cabal project.
# If the stack.yaml was dropped, this would not be necessary.
@ -51,7 +51,7 @@
})] ++ extra-modules;
}; in
# by defualt we don't need to pass extra-modules.
let drv = pkgs': drv' { extra-modules = []; inherit pkgs'; }; in
let drv = pkgs': drv' { extra-modules = []; inherit pkgs'; compiler-nix-name = "ghc964"; }; in
# This will package up all *.a in $out into a pkg.zip that can
# be downloaded from hydra.
let withHydraLibPkg = pkg: pkg.overrideAttrs (old: {
@ -262,7 +262,7 @@
# STATIC aarch64-linux
"${pkgs.pkgsCross.aarch64-multiplatform-musl.hostPlatform.system}-static:exe:simplex-chat" = (drv pkgs.pkgsCross.aarch64-multiplatform-musl).simplex-chat.components.exes.simplex-chat;
"armv7a-android:lib:support" = (drv android32Pkgs).android-support.components.library.override (p: {
"armv7a-android:lib:support" = (drv' { extra-modules = []; pkgs' = android32Pkgs; compiler-nix-name = "ghc8107"; } ).android-support.components.library.override (p: {
smallAddressSpace = true;
# we won't want -dyamic (see aarch64-android:lib:simplex-chat)
enableShared = false;
@ -325,6 +325,7 @@
'';
});
"armv7a-android:lib:simplex-chat" = (drv' {
compiler-nix-name = "ghc8107";
pkgs' = android32Pkgs;
extra-modules = [{
packages.text.flags.simdutf = false;
@ -340,7 +341,7 @@
];
# 32 bit patches
packages.basement.patches = [
./scripts/nix/basement-pr-573.patch
# ./scripts/nix/basement-pr-573.patch
];
packages.memory.patches = [
./scripts/nix/memory-pr-99.patch
@ -433,6 +434,7 @@
'';
});
"aarch64-android:lib:simplex-chat" = (drv' {
compiler-nix-name = "ghc964";
pkgs' = androidPkgs;
extra-modules = [{
packages.text.flags.simdutf = false;