mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 19:46:07 +01:00
Be more error prone and explicit
This commit is contained in:
parent
3a1e13fd20
commit
a1a8485578
1 changed files with 7 additions and 3 deletions
|
|
@ -24,9 +24,13 @@ stdenv.mkDerivation {
|
||||||
src = builtins.fetchurl {
|
src = builtins.fetchurl {
|
||||||
url = "https://nixos.org/releases/nix/nix-2.3.1/nix-2.3.1-${config.build.arch}-linux.tar.xz";
|
url = "https://nixos.org/releases/nix/nix-2.3.1/nix-2.3.1-${config.build.arch}-linux.tar.xz";
|
||||||
sha256 =
|
sha256 =
|
||||||
if config.build.arch == "aarch64"
|
let
|
||||||
then "94a6a525bd0b2df82e14b96b5b0eaae86669b5d4671aacfc4db2db85325a81c1"
|
archShas = {
|
||||||
else "a5d3f26d4a449616bf654286f2fe29c1c1df4f029b7e29fa3ccf8494d598bfee"; # i686
|
aarch64 = "94a6a525bd0b2df82e14b96b5b0eaae86669b5d4671aacfc4db2db85325a81c1";
|
||||||
|
i686 = "a5d3f26d4a449616bf654286f2fe29c1c1df4f029b7e29fa3ccf8494d598bfee";
|
||||||
|
};
|
||||||
|
in
|
||||||
|
"${archShas.${config.build.arch}}";
|
||||||
};
|
};
|
||||||
|
|
||||||
PROOT_NO_SECCOMP = 1; # see https://github.com/proot-me/PRoot/issues/106
|
PROOT_NO_SECCOMP = 1; # see https://github.com/proot-me/PRoot/issues/106
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue