Commit graph

76 commits

Author SHA1 Message Date
Shelvacu
9dd9078a1f Grab proot from bootstrap zip rather than including its nix path directly.
This means that the cachix substituter (or already having the package in your nix store somehow) is no longer required to build.

This required reworking the deploy script. As a bonus you can now omit the second argument and it will tell you what it would have copied instead of copying anything.

This is fixes one source of impurity, but for now flake builds will still require the --impure flag
2024-09-10 22:33:39 +02:00
Alexander Sosedkin
35076ea33f pkgs/proot-termux: update 2024-07-08 01:14:32 +02:00
Sergey Volkov
4d20bfc846 update inputs and copyrights to 24.05
Co-authored-by: Alexander Sosedkin <monk@unboiled.info>
2024-07-08 01:14:32 +02:00
Alexander Sosedkin
e0216d3e47 modules/android-integration: termux-reload-settings 2024-07-07 21:38:38 +02:00
Alexander Sosedkin
438cf8c620 modules/android-integration: termux-wake-lock and termux-wake-unlock 2024-07-07 21:38:38 +02:00
Alexander Sosedkin
b195fa0b15 modules/android-integration: termux-open, termux-open-url, xdg-open 2024-07-07 21:38:38 +02:00
Alexander Sosedkin
733a9fe55c modules/android_integration: termux-setup-storage & unsupported 2024-07-07 21:38:38 +02:00
Alexander Sosedkin
c4c4f09e3d modules/android-integration: add am command 2024-07-07 21:38:38 +02:00
Alexander Sosedkin
c84961e1c2 pkgs/nix-directory: use stdenvNoCC.mkDerivation 2024-07-07 21:14:53 +02:00
Alexander Sosedkin
45fcd2da39 modules, ...: get rid of config.build.arch 2024-06-30 20:29:37 +02:00
Alexander Sosedkin
d72ab2a167 add x86_64 arch 2024-06-30 20:29:37 +02:00
Alexander Sosedkin
6ef3f8ff07 remove fakedroid 2024-06-30 20:29:37 +02:00
Alexander Sosedkin
7b3cc6e3f9 pkgs/nix-directory: update nix to 2.20.5 2024-03-08 07:35:53 +01:00
Alexander Sosedkin
53f8966627 pkgs: update proot and talloc 2024-03-05 23:09:33 +01:00
Alexander Sosedkin
6daee58791 update nixpkgs; applyPatches to fix toolchain (nixpkgs!269077) 2024-03-05 23:09:33 +01:00
Alexander Sosedkin
970a735f56 pkgs/nix-directory: update nix to 2.20.4
Co-authored-by: Tobias Happ <tobias.happ@gmx.de>
2024-03-05 23:09:33 +01:00
Alexander Sosedkin
be783dd251 set stable version to 23.11 2024-03-05 23:09:33 +01:00
Alexander Sosedkin
2301e01d48 pkgs: update talloc and proot 2023-06-30 18:57:34 +02:00
Alexander Sosedkin
f77ae62112 pkgs/nix-directory: update nix to 2.16.1 2023-06-30 18:57:34 +02:00
Alexander Sosedkin
f636824b08 set stable version to 23.05 2023-06-30 18:57:34 +02:00
Tobias Happ
3dfb9d44b5 bootstrap: update nixpkgs version 2022-12-04 17:04:17 +01:00
Tobias Happ
a45761bc87 bootstrap: update nix to 2.11.1 2022-12-04 17:04:17 +01:00
Tobias Happ
c70a1d9745 set stable version to 22.11 2022-12-04 17:04:17 +01:00
Tobias Happ
7e8f1ad6e2 modules/version: remove default stateVersion value
The state version is a sensible value that should explicitly set in the
users config.

Following home-manager: https://github.com/nix-community/home-manager/pull/3043.
2022-12-04 17:04:17 +01:00
Tobias Happ
a99c1e0416 simplify usage of lib.nixOnDroidConfiguration 2022-11-08 20:29:52 +01:00
Tobias Happ
b01a2a8a57 bootstrap: use env vars to set custom channel urls 2022-10-28 17:52:27 +02:00
Tobias Happ
5900404627 bootstrap: inject nixOnDroidFlakeURL 2022-10-28 17:52:27 +02:00
Tobias Happ
5d9e3c3dd1 tests: refactor to support flake setup 2022-10-28 17:52:27 +02:00
Tobias Happ
274bb4babd bootstrap: flakify bootstrap zip ball generation 2022-10-28 17:52:27 +02:00
Tobias Happ
b10dd78e18 bootstrap: refactor special args to reduce inputs 2022-10-28 17:52:27 +02:00
Tobias Happ
7d1ed0fbaa treewide: apply nixpkgs-fmt 2022-10-04 00:43:13 +02:00
Zhaofeng Li
dd0d1194a8 Remove dependency on coreutils from bootstrap
The Nix distribution tarball no longer includes coreutils.
2022-09-13 08:53:06 +02:00
Zhaofeng Li
6a97d9e697 nix-directory: Bump bootstrap nix to 2.11.0 2022-09-13 08:53:06 +02:00
Alexander Sosedkin
0ad6321f79 pkgs: use non-prebuilt SDK 2022-07-09 12:25:31 +02:00
Alexander Sosedkin
0de95f9e9f pkgs/cross-compiling/talloc-static: update, build differently 2022-07-03 18:54:21 +02:00
Alexander Sosedkin
b286ac1aac pkgs/nix-directory: update nix 2022-07-01 00:50:28 +02:00
Alexander Sosedkin
b4b889845c pkgs/proot-termux: update 2022-07-01 00:50:28 +02:00
Alexander Sosedkin
0dbf0f5618 Update pinned nixpkgs version to 22.05 2022-07-01 00:50:28 +02:00
Alexander Sosedkin
d2e9c379df pkgs/nix-directory.nix: simplify to one arch 2021-12-17 00:21:33 +01:00
Alexander Sosedkin
9ee03e218d ci.nix: simplify to single arch 2021-12-17 00:21:33 +01:00
Alexander Sosedkin
7aeb529aab drop i686 support without simplifying code 2021-12-17 00:21:33 +01:00
Tobias Happ
3114584c57 bootstrap: ensure that the correct pkgs instance is used 2021-12-15 22:04:43 +01:00
Tobias Happ
75d0c7c565 pkgs: use new args of ./modules 2021-12-15 22:04:43 +01:00
Alexander Sosedkin
856d931972 deduplicate proot for device and proot for fakedroid 2021-12-13 21:01:34 +01:00
Tobias Happ
1ad8c7ac48 Fix static cross compiling of proot 2021-12-11 22:44:53 +01:00
Alexander Sosedkin
983fe12a88 pkgs/cross-compiling/proot-termux: update 2021-12-11 22:44:53 +01:00
Tobias Happ
f4036a5335 Update pinned nixpkgs version 2021-12-11 22:44:53 +01:00
Alexander Sosedkin
1629d13fd7 pkgs/nix-directory: stop using qemu-user to init nix db 2021-12-08 23:17:33 +01:00
Zhong Jianxin
149e5c8869 Bind /dev/shm
POSIX semaphores need /dev/shm to work. Without this, python
multiprocessing gives errors:

```
Traceback (most recent call last):
  ...
  File "/usr/lib/python2.7/multiprocessing/synchronize.py", line 75, in __init__
    sl = self._semlock = _multiprocessing.SemLock(kind, value, maxvalue)
OSError: [Errno 13] Permission denied
```

Co-authored-by: Alexander Sosedkin <monk@unboiled.info>
Co-authored-by: Tobias Happ <tobias.happ@gmx.de>
2021-10-22 11:27:04 +02:00
Alexander Sosedkin
6d7edfc20b pkgs: update talloc and proot 2021-06-26 19:01:42 +02:00