mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 19:46:07 +01:00
parent
a9c34cff08
commit
c65a4c0498
2 changed files with 6 additions and 2 deletions
|
|
@ -35,6 +35,10 @@ let
|
|||
pkgs = pkgs.lib.mkForce pkgs; # to override ./modules/nixpkgs/config.nix
|
||||
};
|
||||
|
||||
# It is recommended to at least use nix >= 2.12 because of
|
||||
# https://github.com/t184256/nix-on-droid/issues/213
|
||||
nix.package = pkgs.nixVersions.nix_2_12;
|
||||
|
||||
system.stateVersion = "22.11";
|
||||
|
||||
# Fix invoking bash after initial build.
|
||||
|
|
|
|||
|
|
@ -24,8 +24,8 @@ stdenv.mkDerivation {
|
|||
name = "nix-directory";
|
||||
|
||||
src = builtins.fetchurl {
|
||||
url = "https://nixos.org/releases/nix/nix-2.11.1/nix-2.11.1-${config.build.arch}-linux.tar.xz";
|
||||
sha256 = "1cvdvka4qs1zx916g23pi9i024sx9h28nv8pvngxh3nk8gm8bvxq";
|
||||
url = "https://nixos.org/releases/nix/nix-2.12.0/nix-2.12.0-${config.build.arch}-linux.tar.xz";
|
||||
sha256 = "sha256:0z302mpihm02cmir74l0ww8r6qznphahnsirx2pg0ackzqscxciq";
|
||||
};
|
||||
|
||||
PROOT_NO_SECCOMP = 1; # see https://github.com/proot-me/PRoot/issues/106
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue