Commit graph

453 commits

Author SHA1 Message Date
Alexander Sosedkin
53a8306a3e fixup: .github/workflows/: --arches 2024-09-10 23:10:20 +02:00
Alexander Sosedkin
a4a0e43999 DO NOT MERGE: test change 2024-09-10 22:36:00 +02:00
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
hkalbasi
5d88ff2519 tests/emulator/poke_around: test setting user.shell 2024-09-06 23:36:25 +02:00
hkalbasi
21629b43fd Check if the selected shell is a directory 2024-09-06 23:36:25 +02:00
Alexander Sosedkin
248cc08061 README: fix flake example
Resolves: #386
2024-07-22 19:52:25 +02:00
pinage404
c00333ee42 deduplicate nmd input 2024-07-14 15:47:11 +02:00
Zhong Jianxin
8bcadcef69 login: Do not dereference proot binds /bin and /etc
`/bin` and `/etc` are symlinks to `/system/bin` and `/system/etc`, by
default proot will dereference and override them with new contents.

After this change, `/system/bin` and `/system/etc` are kept untouched,
so commands like `/system/bin/ping` can be run directly.
2024-07-10 13:55:08 +02:00
Alexander Sosedkin
25f49c76c4 tests/emulator/test_channels_shell: set empty PATH to match device env 2024-07-10 13:55:08 +02:00
Alexander Sosedkin
f3d3b82940 CHANGELOG.md: mark 24.05 as released 2024-07-08 01:55:33 +02:00
Alexander Sosedkin
fdcdea8a45 WIP: tests/emulator: avoid "ADD TO DICTIONARY" by sleeping 2024-07-08 01:14:54 +02:00
Alexander Sosedkin
bab7c453f4 login-inner: get rid of gnused in flake bootstrap 2024-07-08 01:14:32 +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
b7e7cd423d tests/emulator: better filenames 2024-07-07 21:14:53 +02:00
Alexander Sosedkin
faaacc18a5 tests/emulator/bootstrap-*: work around ADD TO DICTIONARY 2024-07-07 21:14:53 +02:00
Alexander Sosedkin
3f744f2475 tests/emulator/on_device_tests: lower timeout 2024-07-07 21:14:53 +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
54a535b91b flake.nix: make users pass pkgs explicitly 2024-06-30 20:29:37 +02:00
Alexander Sosedkin
3d24441837 .github/workflows: revamp for extra parallelism 2024-06-30 20:29:37 +02:00
Alexander Sosedkin
291970c4c4 tests/emulator, .github/workflows/emulator: add 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
463e0f82a6 tests/on-device: test vim, not vi (android can have vi) 2024-06-30 20:29:37 +02:00
Alexander Sosedkin
da9596df88 scripts/deploy.sh: support file:/// urls 2024-06-30 20:29:37 +02:00
Alexander Sosedkin
5c87fc7357 nix-on-droid, tests: use /data/local/tmp/n-o-d 2024-06-30 20:29:37 +02:00
Alexander Sosedkin
6ef3f8ff07 remove fakedroid 2024-06-30 20:29:37 +02:00
Alexander Sosedkin
d7c432bad3 .github: drop fakedroid-odt workflow 2024-06-30 20:29:37 +02:00
Phani Rithvij
2d93311c4f
add a few more useful commands for easier onboarding 2024-03-14 17:37:11 +01:00
Alexander Sosedkin
7b3cc6e3f9 pkgs/nix-directory: update nix to 2.20.5 2024-03-08 07:35:53 +01:00
Alexander Sosedkin
4029051109 flake.nix, docs: band-aid docs generation using nixpkgs-23.05 2024-03-06 01:51:02 +01:00
Alexander Sosedkin
11e98b0140 .github/workflows/docs: fixup upload-pages-artifact version 2024-03-05 23:16:05 +01:00
Alexander Sosedkin
8bcabf2f5a .github/workflows: update action versions 2024-03-05 23:09:33 +01:00
Alexander Sosedkin
c33e249719 nix-on-droid: warn on switching with flake.nix w/o --flake
Fixes: #295
2024-03-05 23:09:33 +01:00
Alexander Sosedkin
94bf554ee9 flake.lock: update more inputs 2024-03-05 23:09:33 +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
Zhong Jianxin
4b1a6ebcc7 home-manager: Extend lib instead of pkgs.lib
This will allow extending `lib` using:

```
_modules.args.lib = ...
```

Without this the extended lib is not available to home-manager modules.
2024-03-05 23:09:33 +01:00
Alexander Sosedkin
78349e4a81 nix-on-droid: allow passing args to on-device-test 2024-03-05 23:09:33 +01:00
Alexander Sosedkin
3aab6a9ec4 CHANGELOG: mention terminal.colors 2024-02-17 12:05:34 +01:00
Alexander Sosedkin
b237029736 tests/on-device/config-term-colors: add 2024-02-17 12:02:27 +01:00
Alexander Sosedkin
ec5d7f4ccc modules/terminal: restrict colornames 2024-02-17 12:02:27 +01:00
Socks Candy
f05bfc132d modules/terminal: implement termux colorschemes (colors.properties) 2024-02-17 12:02:27 +01:00