Commit graph

456 commits

Author SHA1 Message Date
Izel Nakri | izelnakri.eth
5aa02c8294
Merge 101d81c960 into 5d88ff2519 2025-02-16 23:30:12 +00:00
Kovacsics Robert
101d81c960 flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/4de84265d7ec7634a69ba75028696d74de9a44a7?narHash=sha256-DVv6nd9FQBbMWbOmhq0KVqmlc3y3FMSYl49UXmMcO%2B0%3D' (2024-03-03)
  → 'github:nix-community/home-manager/a9953635d7f34e7358d5189751110f87e3ac17da?narHash=sha256-GUffLwzawz5WRVfWaWCg78n/HrBJrOG7QadFY6rtV8A%3D' (2024-11-24)
• Updated input 'nix-formatter-pack':
    'github:Gerschtli/nix-formatter-pack/2de39dedd79aab14c01b9e2934842051a160ffa5?narHash=sha256-HgSTREh7VoXjGgNDwKQUYcYo13rPkltW7IitHrTPA5c%3D' (2024-01-14)
  → 'github:Gerschtli/nix-formatter-pack/9f4bcf647cad2edafda7e1143071e0daf37cbc41?narHash=sha256-TxJ7RZLlBkKWZos1ai3eWIH0fBq1G6SVE%2Bq3dW%2B0qRU%3D' (2024-10-20)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/5d874ac46894c896119bce68e758e9e80bdb28f1?narHash=sha256-3M94oln0b61m3dUmLyECCA9hYAHXZEszM4saE3CmQO4%3D' (2024-02-17)
  → 'github:NixOS/nixpkgs/69661586d1c9d85e859887d95285f6fc92521657?narHash=sha256-BWzlDJpfcE7DgxtAkeXHnU69Iz6cU64yCgE6b%2Bhqds8%3D' (2024-11-26)
• Updated input 'nixpkgs-docs':
    'github:NixOS/nixpkgs/9a333eaa80901efe01df07eade2c16d183761fa3?narHash=sha256-Q8LJaVZGJ9wo33wBafvZSzapYsjOaNjP/pOnSiKVGHY%3D' (2024-01-22)
  → follows 'nixpkgs'
2024-11-27 00:31:18 +00:00
Kovacsics Robert
4af477a1b4 Bump nixpkgs-docs to follow nixpkgs 2024-11-27 00:31:08 +00:00
Kovacsics Robert
55cc8f0210 Unset LD_LIBRARY_PATH and LD_PRELOAD to avoid invalid ELF header
The error

    /data/data/com.termux/files/nix/bin/sh: error while loading shared libraries: /nix/store/6afvzgx3himw7584k9zmfxmqd86b1z7j-glibc-2.34-210/lib/libc.so: invalid ELF header

it seems to happen  because of

    LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so

which doesn't support the .so file being a linker script

    .../files/nix $ cat ./nix/store/6afvzgx3himw7584k9zmfxmqd86b1z7j-glibc-2.34-210/lib/libc.so
    /* GNU ld script
       Use the shared library, but some functions are only in
       the static library, so try that secondarily.  */
    OUTPUT_FORMAT(elf64-littleaarch64)
    GROUP ( /nix/store/6afvzgx3himw7584k9zmfxmqd86b1z7j-glibc-2.34-210/lib/libc.so.6 /nix/store/6afvzgx3himw7584k9zmfxmqd86b1z7j-glibc-2.34-210/lib/libc_nonshared.a  AS_NEEDED ( /nix/store/6afvzgx3himw7584k9zmfxmqd86b1z7j-glibc-2.34-210/lib/ld-linux-aarch64.so.1 ) )
2024-11-27 00:09:33 +00:00
Kovacsics Robert
f6ecf3b932 Use custom nix installation path to avoid overlap with termux 2024-11-27 00:09:33 +00:00
Kovacsics Robert
27867c79a7 Generate tarball for com.termux
It supports symlinks (yay)
2024-11-27 00:09:16 +00: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