pkgs/proot-termux: update

This commit is contained in:
Alexander Sosedkin 2023-03-19 02:04:39 +01:00
parent b00cb5e7e2
commit 04940c0ecd
2 changed files with 5 additions and 4 deletions

View file

@ -82,7 +82,7 @@ in
environment.files = { environment.files = {
inherit login loginInner; inherit login loginInner;
prootStatic = "/nix/store/8xg8jnaczivjjrd9nq38qvrp9z7avib1-proot-termux-static-aarch64-unknown-linux-android-unstable-2022-05-03"; prootStatic = "/nix/store/v009qzizi2jcywqbd3jlnmzynjvg4d2d-proot-termux-static-aarch64-unknown-linux-android-unstable-2023-02-23";
}; };
}; };

View file

@ -9,13 +9,13 @@
stdenv.mkDerivation { stdenv.mkDerivation {
pname = "proot-termux"; pname = "proot-termux";
version = "unstable-2022-05-03"; version = "unstable-2023-02-23";
src = fetchFromGitHub { src = fetchFromGitHub {
repo = "proot"; repo = "proot";
owner = "termux"; owner = "termux";
rev = "5c462a6ecfddd629b1439f38fbb61216d6fcb359"; rev = "d4658fcfc30d9dfddbfb66e95865fd84bf684abe";
sha256 = "sha256-XS4js80NsAN2C4jMuISSqMm/DwYpH/stbABaxzoqZcE="; sha256 = "sha256-RFFJfloT2hKqMBs/Ob4pA6nyhlPRUifHPfylfCzl+rA=";
}; };
# ashmem.h is rather small, our needs are even smaller, so just define these: # ashmem.h is rather small, our needs are even smaller, so just define these:
@ -27,6 +27,7 @@ stdenv.mkDerivation {
#define ASHMEM_NAME_LEN 256 #define ASHMEM_NAME_LEN 256
#define ASHMEM_SET_NAME _IOW(__ASHMEMIOC, 1, char[ASHMEM_NAME_LEN]) #define ASHMEM_SET_NAME _IOW(__ASHMEMIOC, 1, char[ASHMEM_NAME_LEN])
#define ASHMEM_SET_SIZE _IOW(__ASHMEMIOC, 3, size_t) #define ASHMEM_SET_SIZE _IOW(__ASHMEMIOC, 3, size_t)
#define ASHMEM_GET_SIZE _IO(__ASHMEMIOC, 4)
EOF EOF
''; '';