Alexander Sosedkin
319d2a011a
.github/workflows/emulator: use Pixel Tablet profile...
...
... for extra screen estate
2025-07-23 12:30:05 +02:00
Alexander Sosedkin
51158ee84f
tests/emulator: assorted robustness fixes
2025-07-23 12:30:05 +02:00
Shelvacu
27696cac81
Add tests for _class="nixOnDroid"
Build bootstrap packages and push to cachix / cachix (push) Has been cancelled
Build and deploy docs / deploy (push) Has been cancelled
Test nix-on-droid in an emulator / prepare-droidctl (push) Has been cancelled
Test nix-on-droid in an emulator / prepare-n-o-d (push) Has been cancelled
Test nix-on-droid in an emulator / prepare-avd (29) (push) Has been cancelled
Run lints / lint (push) Has been cancelled
Test nix-on-droid in an emulator / emulate (29, android_integration) (push) Has been cancelled
Test nix-on-droid in an emulator / emulate (29, bootstrap_channels) (push) Has been cancelled
Test nix-on-droid in an emulator / emulate (29, bootstrap_flakes) (push) Has been cancelled
Test nix-on-droid in an emulator / emulate (29, poke_around) (push) Has been cancelled
Test nix-on-droid in an emulator / emulate (29, test_channels_shell) (push) Has been cancelled
Test nix-on-droid in an emulator / emulate (29, test_channels_uiautomator) (push) Has been cancelled
2025-07-21 14:28:15 +02:00
Shelvacu
a25bb0ab27
Pass class="nixOnDroid"; to evalModules
...
This is useful for getting better error messages when mixing modules; a module designed for nixos configs sets `_class = "nixos";` and then when you try to use it from a nix-on-droid config it shows an error.
See: https://nixos.org/manual/nixpkgs/unstable/#module-system-lib-evalModules-param-class
2025-07-21 14:28:15 +02:00
Alexander Sosedkin
40b8c7465f
Revert "Allow unfree packages when building droidctl"
...
Build bootstrap packages and push to cachix / cachix (push) Has been cancelled
Build and deploy docs / deploy (push) Has been cancelled
Test nix-on-droid in an emulator / prepare-droidctl (push) Has been cancelled
Test nix-on-droid in an emulator / prepare-n-o-d (push) Has been cancelled
Test nix-on-droid in an emulator / prepare-avd (29) (push) Has been cancelled
Run lints / lint (push) Has been cancelled
Test nix-on-droid in an emulator / emulate (29, android_integration) (push) Has been cancelled
Test nix-on-droid in an emulator / emulate (29, bootstrap_channels) (push) Has been cancelled
Test nix-on-droid in an emulator / emulate (29, bootstrap_flakes) (push) Has been cancelled
Test nix-on-droid in an emulator / emulate (29, poke_around) (push) Has been cancelled
Test nix-on-droid in an emulator / emulate (29, test_channels_shell) (push) Has been cancelled
Test nix-on-droid in an emulator / emulate (29, test_channels_uiautomator) (push) Has been cancelled
This reverts commit af711651ca .
2025-05-16 09:56:00 +02:00
pancho horrillo
7f68d674b3
nix-on-droid: passthrough --override-input arg
Build bootstrap packages and push to cachix / cachix (push) Has been cancelled
Build and deploy docs / deploy (push) Has been cancelled
Test nix-on-droid in an emulator / prepare-droidctl (push) Has been cancelled
Test nix-on-droid in an emulator / prepare-n-o-d (push) Has been cancelled
Test nix-on-droid in an emulator / prepare-avd (29) (push) Has been cancelled
Run lints / lint (push) Has been cancelled
Test nix-on-droid in an emulator / emulate (29, android_integration) (push) Has been cancelled
Test nix-on-droid in an emulator / emulate (29, bootstrap_channels) (push) Has been cancelled
Test nix-on-droid in an emulator / emulate (29, bootstrap_flakes) (push) Has been cancelled
Test nix-on-droid in an emulator / emulate (29, poke_around) (push) Has been cancelled
Test nix-on-droid in an emulator / emulate (29, test_channels_shell) (push) Has been cancelled
Test nix-on-droid in an emulator / emulate (29, test_channels_uiautomator) (push) Has been cancelled
2025-05-13 19:40:07 +02:00
Hannes
af711651ca
Allow unfree packages when building droidctl
2025-05-13 19:39:13 +02:00
Hannes
7c84363a35
Replace magic-nix-cache-action
2025-05-13 19:39:13 +02:00
Zhong Jianxin
a7befd8c98
flake.nix: pkgs.system -> pkgs.stdenv.hostPlatform.system
...
`pkgs.system` is now an [alias][1] to `pkgs.stdenv.hostPlatform.system`.
After this it's possible to set `config.allowAliases = false` for nixpkgs:
```
nixOnDroidConfigurations.default = nix-on-droid.lib.nixOnDroidConfiguration {
pkgs = import nixpkgs { config.allowAliases = false; system = "aarch64-linux"; };
modules = [ ./nix-on-droid.nix ];
};
```
[1]: 3fa87fea66/pkgs/top-level/aliases.nix (L1386)
2025-05-13 19:01:05 +02:00
010aa48cf6
allow both group and username to be changed
2025-05-13 19:00:30 +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