mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-12-23 17:31:14 +01:00
drop i686 support without simplifying code
This commit is contained in:
parent
4ade388b9a
commit
154ad5a368
8 changed files with 13 additions and 15 deletions
|
|
@ -12,8 +12,8 @@ with lib;
|
|||
|
||||
build = {
|
||||
arch = mkOption {
|
||||
type = types.enum [ "aarch64" "i686" ];
|
||||
default = if pkgs.stdenv.isAarch64 then "aarch64" else "i686";
|
||||
type = types.enum [ "aarch64" ];
|
||||
default = "aarch64";
|
||||
internal = true;
|
||||
description = "Destination arch.";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -86,7 +86,6 @@ in
|
|||
let
|
||||
crossCompiledPaths = {
|
||||
aarch64 = "/nix/store/dapbgzbpl426jrhz4a2sdl096a8l98ad-proot-termux-aarch64-unknown-linux-android-unstable-2021-11-21";
|
||||
i686 = "/nix/store/6nnjhrh8pgyxjnya72irahxpkbnxai1w-proot-termux-i686-unknown-linux-android-unstable-2021-11-21";
|
||||
};
|
||||
in
|
||||
"${crossCompiledPaths.${config.build.arch}}";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue