Commit graph

33 commits

Author SHA1 Message Date
Alexander Sosedkin
b237029736 tests/on-device/config-term-colors: add 2024-02-17 12:02:27 +01:00
Alexander Sosedkin
82b4cd68fc nix-on-droid.nix.default: switch to nix-community/home-manager 2024-02-14 22:03:24 +01:00
Evgeny Kurnevsky
b324ef2824 modules/environment/networking: implement /etc/hosts options 2023-07-27 16:31:21 +02:00
Alexander Sosedkin
c367bba341 tests/fakedroid: update qemu to 7.2.0 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
ef3ae133e5 tests: update qemu to 7.1.0 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
ae0569fb92 treewide: use consitent casing of Nix-on-Droid/nix-on-droid
Whenever Nix-on-Droid references the project or application it should be
upper-cased.

When nix-on-droid is referencing the CLI-tool or is used as some ID, it
should be lower-cased.
2022-11-20 20:15:31 +01:00
Tobias Happ
6a345626c0 add support for default configuration in flake.nix 2022-11-08 20:29:52 +01:00
Tobias Happ
a99c1e0416 simplify usage of lib.nixOnDroidConfiguration 2022-11-08 20:29:52 +01:00
Alexander Sosedkin
587825a1e4 tests: extend guessing $FLAKE_URL to non-github cases 2022-11-06 21:43:51 +01:00
Tobias Happ
70bc99a562 tests: remove usage of undeclared runtime dependencies 2022-11-06 21:43:51 +01:00
Tobias Happ
c0b87d967f bootstrap: add prompt to bootstrap with flakes setup 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
7cea00a1c7 tests: increase robustness of fakedroid.sh 2022-10-28 17:52:27 +02:00
Tobias Happ
a5ed8b213f treewide: apply statix fixes 2022-10-04 00:43:13 +02:00
Tobias Happ
7d1ed0fbaa treewide: apply nixpkgs-fmt 2022-10-04 00:43:13 +02:00
Alexander Sosedkin
0ad6321f79 pkgs: use non-prebuilt SDK 2022-07-09 12:25:31 +02:00
Alexander Sosedkin
d1f52f2e1d Update 21.11 references to 22.05 2022-07-01 00:50:28 +02:00
Tobias Happ
4ade388b9a tests: do not create out link from proot build 2021-12-15 22:04:43 +01:00
Tobias Happ
52efd98b5e tests: add cleanup logic for changed nix-channels 2021-12-15 22:04:43 +01:00
Tobias Happ
d8f098c8e5 tests: only expose env variables in setup that are used 2021-12-15 22:04:43 +01:00
Tobias Happ
619e53ac72 tests: simplify clean up logic for ~/.config/nixpkgs 2021-12-15 22:04:43 +01:00
Tobias Happ
0c2f293502 tests: only backup ~/.config/nixpkgs
Other files/directories are not modified by the general test setup.
2021-12-15 22:04:43 +01:00
Tobias Happ
e687e46e2f tests: update flake tests to use new --flake argument 2021-12-15 22:04:43 +01:00
Tobias Happ
248632699e tests: increase readability through small helper functions 2021-12-15 22:04:43 +01:00
Tobias Happ
7f983228fe tests: add assertions only relevant for the specific test case 2021-12-15 22:04:43 +01:00
Tobias Happ
726f74d9ec tests: restore the initial generation before each test
When developing it can happen to break the nix-on-droid script. If so,
this fix will ensure that each test has a working nix-on-droid script
available.
2021-12-15 22:04:43 +01:00
Tobias Happ
9477418fe6 tests: use bats pretty formatter 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
Alexander Sosedkin
a6b8efbae3 tests/fakedroid: emulate a nix-on-droid-like env for testing 2021-12-13 21:01:34 +01:00
Alexander Sosedkin
343ec2ccc2 tests/on-device: add 2021-12-12 11:56:48 +01:00