help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Guix on Android; Nix already runs


From: 白い熊
Subject: Guix on Android; Nix already runs
Date: Sun, 10 Nov 2019 18:44:07 +0000 (UTC)

Hi Guix: 
 
Accidentally, I've stumbled upon the “Nix-on-Droid” app in F-droid and then 
I've found “I succeeded in running Nix on Android” 
https://discourse.nixos.org/t/i-succeeded-in-running-nix-on-android-now-without-termux/2271[https://discourse.nixos.org/t/i-succeeded-in-running-nix-on-android-now-without-termux/2271]
 
I've installed it and indeed it bootstraps Nix and it runs — here the initial 
run log: 
 
———
Welcome to Nix-on-Droid!
If nothing works, use the rescue shell and read 
/data/data/com.termux.nix/files/usr/usr/lib/login-inner
If it does not help, report bugs at 
https://github.com/t184256/nix-on-droid-bootstrap/issues[https://github.com/t184256/nix-on-droid-bootstrap/issues]
Sourcing Nix environment...
Installing and updating nix-channels...
warning: Nix search path entry 
'/data/data/com.termux.nix/files/home/.nix-defexpr/channels' does not exist, 
ignoring
these derivations will be built:
 /nix/store/p7616rl0i21f5a9jlkmzzgqcpmcm7r1n-nix-on-droid.drv
building '/nix/store/p7616rl0i21f5a9jlkmzzgqcpmcm7r1n-nix-on-droid.drv'...
unpacking channels...
created 2 symlinks in user environment
Installing nix-on-droid.basic-environment...
installing 'basic-environment'
copying path '/nix/store/c30q4ij77cxkgf35iig3q0zv6hv8x0ky-glibc-2.27' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path 
'/nix/store/xfcixd8vxx2j4iyvqkhv13qzhap05y0h-gnu-config-2019-04-15' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/npg2w826qzzknzwhf47p1by7370g41fv-attr-2.4.48' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/nvv874lqz94nbyfl0fxqmcwgjpgs2xvr-bash-4.4-p23' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/3k8rqap0lgwbcs34mdgsha30w5w1w9qj-acl-2.2.53' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path 
'/nix/store/32ilhdb3v6dpfzlc1x8lm16aradjjgvl-bzip2-1.0.6.0[1.0.6.0].1' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/z9nm611aa7pll70ma4qr42wv6cph25sg-coreutils-8.31' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path 
'/nix/store/sk79fw8n4sv3kv5clg6jjzz60xg8ywg8-bzip2-1.0.6.0[1.0.6.0].1-bin' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/da1nax1qsiv7z0zww4pfccy8wwsc256z-diffutils-3.7' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/0dfjv219aw3rz21hminy3qfk04hwzdwk-ed-1.15' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/bi6g52s1c5rgyrcsv2m50g865n18kw34-findutils-4.7.0' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/hwcwlbsnbgpw7qs0ib7x44ar482dp03j-gawk-5.0.1' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/64lw8p4i4qzd2m1nysgg3ia5lx0bq48a-gcc-8.3.0-lib' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/3jziflvg7fjsi8jky66k4zcwmiphxwy5-gnumake-4.2.1' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/fhqk2kwdk8r4hc0wcb1van0x1f4prz1i-gnused-4.7' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/qx6i8w48br8xc3rxg03rzhmq8azrcj4s-gnutar-1.32' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/wr3f7i59dz82sli4y07rnylnvdxgy0qy-gzip-1.10' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/k264gscm2sizks1nxkhh83crnk8vrl9b-hook' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/vz3z3wy8f5zv947dls37xnq9flarxz1f-patch-2.7.6' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/ycvn7bxzr2y52f9srwxy2l4228cv6s3m-patchelf-0.9' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/x8czkdnq6lxwpjf9xqwian2daziha2jn-pcre-8.43' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/8bwcc8awnx4kll1pwn3jda0phdmr3l6g-xz-5.2.4' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/r0var4bdf7yffzhbhin651ih1xv51jcw-gnugrep-3.3' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/3mzh0s6f4j1angzix9j4abm9rpi8r16v-xz-5.2.4-bin' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/an1ppnjc4qf5slw4pmwz1n3zcrn24f87-stdenv-linux' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
building '/nix/store/w2mrmpb01hwary8bpjyl0grp8hykry8c-ids.nix.drv'...
these derivations will be built:
 /nix/store/84skkmwg17rhix2bq9xdknx20wvcaz3c-login-inner.drv
 
/nix/store/c8wjh351a2bqvvha0knhgqranjjqvv4j-builder.pl[c8wjh351a2bqvvha0knhgqranjjqvv4j-builder.pl].drv
 /nix/store/ck4mvadlm687jqsgid2shpl1382ss73f-login.drv
 /nix/store/f98vfyxrami0cj012yzsib1qnk4dd3jp-resolv.conf.drv
 /nix/store/hdyklpsac3rj58ffdsbd9ancp2i26sbb-group.drv
 /nix/store/ibib3px3b8rgir02mdp5x66rdx8md1zs-hm-install.drv
 /nix/store/ikwfn4i1zlh9i503p7cypfsdzkbglgds-nix.conf.drv
 /nix/store/jg6nm8jwbg0yan3ak6fg8w7x27iwn29g-nix-on-droid-linker.drv
 /nix/store/l49apyckz2y8q37bywvg02spzhp5rhvj-home.nix.default.drv
 /nix/store/wgb067slpvkf3b179b0gml44cjzd588i-passwd.drv
 /nix/store/wdbbfqriqjxixhzzizjmvc65s2v57iqg-basic-environment.drv
these paths will be fetched (15.34 MiB download, 84.58 MiB unpacked):
 /nix/store/1h25s1q29sx9ylpmiz81i573h7vzf8yb-ncurses-6.1-20190112
 /nix/store/1zjrslv0s1vnz4bzj7rb1sbll5m4cfyy-bash-interactive-4.4-p23
 /nix/store/44d2aicvhrn5gzwbl7ssjj8r6lkyh355-aws-c-common-0.3.11
 /nix/store/4fx69cgk7ackmd54bxjqkbkvshn96534-nss-cacert-3.46.1
 /nix/store/5amwh76g3dmbjhlmmh43plrsi58kqwk3-libssh2-1.9.0
 /nix/store/6hn2x7x7758hkpdlazdbc6y6s9s194x3-perl-5.30.0
 /nix/store/75nlvgz3cx65s16rjww5mm394z2a5p2p-brotli-1.0.7-lib
 /nix/store/b2h5ki0zhif07fzmr3r2pk4cyfjyswi6-boehm-gc-8.0.4
 /nix/store/ch5z9400s67bxqyk7lrpfaccwiw2g7lj-aws-sdk-cpp-1.7.90
 /nix/store/fd61kyni3y26afzs00m63p988prz6glg-sqlite-3.28.0
 /nix/store/hwhpxp0m7yljwz30vyrbxfs53695rd6d-nix-2.3-man
 /nix/store/i8cl1lh9kahlhk8kvi9vn6akz8kr4k10-curl-7.65.3
 /nix/store/p4qp84x6593c0z9p7jkwap0ayl7x284z-openssl-1.1.1d
 /nix/store/qsyhqslj5pbvsnfdinz3ag45hzwj6wa4-libseccomp-2.4.1-lib
 /nix/store/r1gyy267ffg5m0ndjjpszp585b303ybk-readline-7.0p5
 /nix/store/rspmiw1jzhap9n2wgf30idcq265m48sp-nghttp2-1.39.2-lib
 /nix/store/rzzi8yhgikm43s7a66ywnpd6wyp5kaq3-bash-interactive-4.4-p23-man
 /nix/store/sp9g7zjxkrmn7pnpjdr2f954qiknd885-nix-2.3
 /nix/store/v7mnq5x8fi9wjpig0nvxqryqy8dvnxzb-zlib-1.2.11
 /nix/store/w9yyj0lb6jpk2935zxzvvr1mn80jmcjp-libsodium-1.0.18
 /nix/store/wsjxx544hs8xvi1d483fc3aqf9xhm475-libkrb5-1.17
 /nix/store/ylyx233zsdyhs8xa7477fwhw20jfq4c1-editline-1.16.1
 /nix/store/ywcxvmkqwckkfqzqr8bwh7dim4w5cf8z-busybox-1.30.1
 /nix/store/zcm8wx19wc9nq8wdgk2jq6yzs2w8mxsm-keyutils-1.6-lib
copying path 
'/nix/store/rzzi8yhgikm43s7a66ywnpd6wyp5kaq3-bash-interactive-4.4-p23-man' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/44d2aicvhrn5gzwbl7ssjj8r6lkyh355-aws-c-common-0.3.11' 
from 'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/b2h5ki0zhif07fzmr3r2pk4cyfjyswi6-boehm-gc-8.0.4' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/75nlvgz3cx65s16rjww5mm394z2a5p2p-brotli-1.0.7-lib' 
from 'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/ywcxvmkqwckkfqzqr8bwh7dim4w5cf8z-busybox-1.30.1' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/ylyx233zsdyhs8xa7477fwhw20jfq4c1-editline-1.16.1' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/zcm8wx19wc9nq8wdgk2jq6yzs2w8mxsm-keyutils-1.6-lib' 
from 'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/qsyhqslj5pbvsnfdinz3ag45hzwj6wa4-libseccomp-2.4.1-lib' 
from 'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/wsjxx544hs8xvi1d483fc3aqf9xhm475-libkrb5-1.17' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/w9yyj0lb6jpk2935zxzvvr1mn80jmcjp-libsodium-1.0.18' 
from 'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/1h25s1q29sx9ylpmiz81i573h7vzf8yb-ncurses-6.1-20190112' 
from 'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/rspmiw1jzhap9n2wgf30idcq265m48sp-nghttp2-1.39.2-lib' 
from 'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/hwhpxp0m7yljwz30vyrbxfs53695rd6d-nix-2.3-man' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/4fx69cgk7ackmd54bxjqkbkvshn96534-nss-cacert-3.46.1' 
from 'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/p4qp84x6593c0z9p7jkwap0ayl7x284z-openssl-1.1.1d' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/6hn2x7x7758hkpdlazdbc6y6s9s194x3-perl-5.30.0' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/r1gyy267ffg5m0ndjjpszp585b303ybk-readline-7.0p5' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/v7mnq5x8fi9wjpig0nvxqryqy8dvnxzb-zlib-1.2.11' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path 
'/nix/store/1zjrslv0s1vnz4bzj7rb1sbll5m4cfyy-bash-interactive-4.4-p23' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/5amwh76g3dmbjhlmmh43plrsi58kqwk3-libssh2-1.9.0' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/fd61kyni3y26afzs00m63p988prz6glg-sqlite-3.28.0' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
copying path '/nix/store/i8cl1lh9kahlhk8kvi9vn6akz8kr4k10-curl-7.65.3' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
building 
'/nix/store/c8wjh351a2bqvvha0knhgqranjjqvv4j-builder.pl[c8wjh351a2bqvvha0knhgqranjjqvv4j-builder.pl].drv'...
copying path '/nix/store/ch5z9400s67bxqyk7lrpfaccwiw2g7lj-aws-sdk-cpp-1.7.90' 
from 'https://cache.nixos.org[https://cache.nixos.org]'...
building '/nix/store/hdyklpsac3rj58ffdsbd9ancp2i26sbb-group.drv'...
copying path '/nix/store/sp9g7zjxkrmn7pnpjdr2f954qiknd885-nix-2.3' from 
'https://cache.nixos.org[https://cache.nixos.org]'...
building '/nix/store/l49apyckz2y8q37bywvg02spzhp5rhvj-home.nix.default.drv'...
building '/nix/store/ibib3px3b8rgir02mdp5x66rdx8md1zs-hm-install.drv'...
building '/nix/store/84skkmwg17rhix2bq9xdknx20wvcaz3c-login-inner.drv'...
building '/nix/store/ck4mvadlm687jqsgid2shpl1382ss73f-login.drv'...
building 
'/nix/store/jg6nm8jwbg0yan3ak6fg8w7x27iwn29g-nix-on-droid-linker.drv'...
building '/nix/store/ikwfn4i1zlh9i503p7cypfsdzkbglgds-nix.conf.drv'...
building '/nix/store/wgb067slpvkf3b179b0gml44cjzd588i-passwd.drv'...
building '/nix/store/f98vfyxrami0cj012yzsib1qnk4dd3jp-resolv.conf.drv'...
building '/nix/store/wdbbfqriqjxixhzzizjmvc65s2v57iqg-basic-environment.drv'...
created 164 symlinks in user environment
building '/nix/store/4djdc9x2vrmlxawx7cf86qs2k155yv8f-user-environment.drv'...
created 6 symlinks in user environment
Setting up dynamic symlinks via nix-on-droid-linker
Linking ~/.nix-profile/bin/login to /bin/login
Linking ~/.nix-profile/bin/sh to /bin/sh
Linking ~/.nix-profile/etc/group to /etc/group
Linking ~/.nix-profile/etc/home.nix.default to /etc/home.nix.default
Linking ~/.nix-profile/etc/nix/nix.conf to /etc/nix/nix.conf
Linking ~/.nix-profile/etc/passwd to /etc/passwd
Linking ~/.nix-profile/etc/resolv.conf to /etc/resolv.conf
Linking ~/.nix-profile/bin/env to /usr/bin/env
Linking ~/.nix-profile/usr/lib/login-inner to /usr/lib/login-inner
 
Congratulations! Now you have Nix installed with some basic packages like
bashInteractive, coreutils, cacert and some scripts provided by nix-on-droid
itself.
 
You can go for the bare Nix setup or you can configure your phone via
home-manager. For that simply run hm-install.
 
Sourcing Nix environment...
bash-4.4$
———
 
It seems it shouldn't be too hard to modify to achieve the same for Guix. 
 
Unfortunately I'm too busy right now to try to hack this — is there anyone 
savvy enough to get it done? :@) 

-- 

--
Best regards / 宜しく御願い致します / S pozdravem / C уважением / Z poważaniem / 
Mit freundlichen Grüßen
 
白い熊




reply via email to

[Prev in Thread] Current Thread [Next in Thread]