From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?55m944GE54aK?= Subject: Guix on Android; Nix already runs Date: Sun, 10 Nov 2019 18:44:07 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:32891) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iTsCB-0004DR-3m for help-guix@gnu.org; Sun, 10 Nov 2019 13:44:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iTsC9-0001Dn-6O for help-guix@gnu.org; Sun, 10 Nov 2019 13:44:19 -0500 Received: from minsky.hcoop.net ([104.248.1.95]:53896) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iTsC9-0001DV-2k for help-guix@gnu.org; Sun, 10 Nov 2019 13:44:17 -0500 Received: from tor-relay.netshelter.de ([89.46.125.39] helo=[127.0.0.1]) by minsky.hcoop.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1iTsC7-0004d2-8r for help-guix@gnu.org; Sun, 10 Nov 2019 13:44:15 -0500 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org Hi Guix:=20 =20 Accidentally, I've stumbled upon the =E2=80=9CNix-on-Droid=E2=80=9D app in = F-droid and then I've found =E2=80=9CI succeeded in running Nix on Android= =E2=80=9D https://discourse.nixos.org/t/i-succeeded-in-running-nix-on-andro= id-now-without-termux/2271[https://discourse.nixos.org/t/i-succeeded-in-run= ning-nix-on-android-now-without-termux/2271] =20 I've installed it and indeed it bootstraps Nix and it runs =E2=80=94 here t= he initial run log:=20 =20 =E2=80=94=E2=80=94=E2=80=94 Welcome to Nix-on-Droid! If nothing works, use the rescue shell and read /data/data/com.termux.nix/f= iles/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-d= efexpr/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-0= 4-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' fro= m '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' f= rom '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' fr= om 'https://cache.nixos.org[https://cache.nixos.org]'... copying path '/nix/store/0dfjv219aw3rz21hminy3qfk04hwzdwk-ed-1.15' from 'ht= tps://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' fr= om 'https://cache.nixos.org[https://cache.nixos.org]'... copying path '/nix/store/3jziflvg7fjsi8jky66k4zcwmiphxwy5-gnumake-4.2.1' fr= om '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' fro= m '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 'h= ttps://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' fro= m 'https://cache.nixos.org[https://cache.nixos.org]'... copying path '/nix/store/an1ppnjc4qf5slw4pmwz1n3zcrn24f87-stdenv-linux' fro= m '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[c8wjh351a2bqvvha0kn= hgqranjjqvv4j-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' f= rom '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' f= rom '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' fro= m '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-20190= 112' from 'https://cache.nixos.org[https://cache.nixos.org]'... copying path '/nix/store/rspmiw1jzhap9n2wgf30idcq265m48sp-nghttp2-1.39.2-li= b' 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' f= rom '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' f= rom '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' fr= om 'https://cache.nixos.org[https://cache.nixos.org]'... copying path '/nix/store/fd61kyni3y26afzs00m63p988prz6glg-sqlite-3.28.0' fr= om '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[c8wjh351a2= bqvvha0knhgqranjjqvv4j-builder.pl].drv'... copying path '/nix/store/ch5z9400s67bxqyk7lrpfaccwiw2g7lj-aws-sdk-cpp-1.7.9= 0' from 'https://cache.nixos.org[https://cache.nixos.org]'... building '/nix/store/hdyklpsac3rj58ffdsbd9ancp2i26sbb-group.drv'... copying path '/nix/store/sp9g7zjxkrmn7pnpjdr2f954qiknd885-nix-2.3' from 'ht= tps://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.d= rv'... 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 =20 Congratulations! Now you have Nix installed with some basic packages like bashInteractive, coreutils, cacert and some scripts provided by nix-on-droi= d itself. =20 You can go for the bare Nix setup or you can configure your phone via home-manager. For that simply run hm-install. =20 Sourcing Nix environment... bash-4.4$ =E2=80=94=E2=80=94=E2=80=94 =20 It seems it shouldn't be too hard to modify to achieve the same for Guix.= =20 =20 Unfortunately I'm too busy right now to try to hack this =E2=80=94 is there= anyone savvy enough to get it done? :@)=20 --=20 -- Best regards / =E5=AE=9C=E3=81=97=E3=81=8F=E5=BE=A1=E9=A1=98=E3=81=84=E8=87= =B4=E3=81=97=E3=81=BE=E3=81=99 / S pozdravem / C =D1=83=D0=B2=D0=B0=D0=B6= =D0=B5=D0=BD=D0=B8=D0=B5=D0=BC / Z powa=C5=BCaniem /=20 Mit freundlichen Gr=C3=BC=C3=9Fen =20 =E7=99=BD=E3=81=84=E7=86=8A