mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-12-09 18:41:08 +01:00
add x86_64 arch
This commit is contained in:
parent
51b62422c5
commit
a81256666e
17 changed files with 90 additions and 40 deletions
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (c) 2019-2023, see AUTHORS. Licensed under MIT License, see LICENSE.
|
||||
# Copyright (c) 2019-2024, see AUTHORS. Licensed under MIT License, see LICENSE.
|
||||
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
|
|
@ -12,8 +12,8 @@ with lib;
|
|||
|
||||
build = {
|
||||
arch = mkOption {
|
||||
type = types.enum [ "aarch64" ];
|
||||
default = "aarch64";
|
||||
type = types.enum [ "aarch64" "x86_64" ];
|
||||
default = strings.removeSuffix "-linux" builtins.currentSystem;
|
||||
internal = true;
|
||||
description = "Destination arch.";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue