DavHau / nix-on-armv7l

Nix without NixOS on arm32v7 / armv7l / Raspberry Pi OS / Raspbian
MIT License
19 stars 3 forks source link

unable to install package on the bq e5 HD(armv7l) #1

Open Fuseteam opened 3 years ago

Fuseteam commented 3 years ago

i am running ubuntu touch on a bq e5 HD, the soc there is an armhf soc so it's basically armv7l i managed to install nix fine using the read but when i try to install actual packages i get 'killed'

looking further into it i followed the link to the actual cache mentioned in the read me which let me to cachix, where they reccomend installing cachix first using nix-env -iA cachix -f https://cachix.org/api/v1/install. the following is the output i get from it:

unpacking 'https://cachix.org/api/v1/install'...
unpacking 'https://github.com/NixOS/nixpkgs/tarball/5e9d9f07d12d78418422b471b54d5b41f58e61ca'...
installing 'cachix-0.5.1'
error: Package ‘ghc-8.8.4’ in /nix/store/6qa9pjalsk76va40b5amagwii3gcxyqj-source/pkgs/development/compilers/ghc/8.8.4.nix:251 is not supported
on ‘armv7l-linux’, refusing to evaluate.

a) To temporarily allow packages that are unsupported for this system, you can use an environment variable
   for a single invocation of the nix tools.

     $ export NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1

b) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

(use '--show-trace' to show detailed location information)
Fuseteam commented 3 years ago

it appears the way to install packages is nix-env -iA nixpkgs.package-name which can be inferred from https://search.nixos.org/packages. the current error from that is the following:

Unpacking the bootstrap tools...
mkdir: can't create directory 'TEMPDIR=/tmp/nix-build-bootstrap-tools.drv-0': No such file or directory
mkdir: can't create directory 'HOME=/homeless-shelter': No such file or directory
mkdir: can't create directory 'builder=/nix/store/imsbql435j383ha6q6nlwn5bmqdnaqhq-busybox': No such file or direc
tory
mkdir: can't create directory 'TMPDIR=/tmp/nix-build-bootstrap-tools.drv-0': No such file or directory
mkdir: can't create directory 'out=/nix/store/cvzil995dqk628n017d02s1zaa6fjh4i-bootstrap-tools': No such file or d
irectory
mkdir: can't create directory 'TEMP=/tmp/nix-build-bootstrap-tools.drv-0': No such file or directory
mkdir: can't create directory 'tarball=/nix/store/iwd9w34aif01zrs1bxz5kcdkawkv7i0a-bootstrap-tools.tar.xz': No suc
h file or directory
mkdir: can't create directory 'PATH=/path-not-set': No such file or directory
mkdir: can't create directory 'TMP=/tmp/nix-build-bootstrap-tools.drv-0': No such file or directory
mkdir: can't create directory 'NIX_BUILD_TOP=/tmp/nix-build-bootstrap-tools.drv-0': No such file or directory
mkdir: can't create directory 'NIX_STORE=/nix/store': No such file or directory
mkdir: can't create directory 'PWD=/tmp/nix-build-bootstrap-tools.drv-0': No such file or directory
builder for '/nix/store/rh5n06s8ixkchn19hzybhisbypi4i46j-bootstrap-tools.drv' failed with exit code 1
cannot build derivation '/nix/store/pvz8r733r1lx7aaxyyxsbf41i9609xl7-acl-2.2.53.drv': 1 dependencies couldn't be b
uilt
cannot build derivation '/nix/store/8dz61vq2zng74xaz747arl9al0c46mrl-attr-2.4.48.drv': 1 dependencies couldn't be
built
cannot build derivation '/nix/store/daxfcma8413j01yk2f89m11k312g1ly6-binutils-2.31.1.drv': 1 dependencies couldn't
 be built
cannot build derivation '/nix/store/4bkmf53cszbaw9578s8ypkbchm99h0gd-binutils-wrapper-2.31.1.drv': 1 dependencies
couldn't be built
building '/nix/store/0gzlabxdx5xhf75wrsgcq1awikvcrn6y-c-ares-1.15.0.tar.gz.drv'...
cannot build derivation '/nix/store/4ccm4hv5kib6pznsfxffslch2iaxlan1-coreutils-8.32.drv': 1 dependencies couldn't
be built
cannot build derivation '/nix/store/zlh8957f7bcp2wz2ggbl46059xyxbpah-coreutils-8.32.drv': 1 dependencies couldn't
be built
cannot build derivation '/nix/store/rgr9b9fg8m4vyxyd5iqr6903m9mni68c-diffutils-3.7.drv': 1 dependencies couldn't b
e built
cannot build derivation '/nix/store/mkzz0xyphs0xhswwrhmfh07n8ad7sfqr-ed-1.16.drv': 1 dependencies couldn't be buil
t
cannot build derivation '/nix/store/fysc4axaszch54728wrmsdd6ffl1viid-expand-response-params.drv': 1 dependencies c
ouldn't be built
cannot build derivation '/nix/store/rc85ri3n7wl4ly3nqq4hh8iyfjkkk4hx-findutils-4.7.0.drv': 1 dependencies couldn't
 be built
cannot build derivation '/nix/store/vl3q42kkby2p8j03rgd2azfqvqxydb8l-gawk-5.1.0.drv': 1 dependencies couldn't be b
uilt
cannot build derivation '/nix/store/w99bk6zb6g7cy01mkwf8npa9baiiw10k-gcc-9.3.0.drv': 1 dependencies couldn't be bu
ilt
cannot build derivation '/nix/store/gqdfz4g4y9gx09wswvznprksaa7rqmyf-gcc-wrapper-9.3.0.drv': 1 dependencies couldn
't be built
cannot build derivation '/nix/store/azl8rpj7p35s193b7nhv7ryil8yf68dd-glibc-2.32.drv': 1 dependencies couldn't be b
uilt
cannot build derivation '/nix/store/8f87ki8ikbkj4sxg2r47ml8kavsgamp2-gnu-config-2020-05-04.drv': 1 dependencies co
uldn't be built
cannot build derivation '/nix/store/fph31qq7hppkmajh4nn0wsz519s3q6fs-gnugrep-3.5.drv': 1 dependencies couldn't be
built
cannot build derivation '/nix/store/sjrivapv9wwvzhpnn7fbc5pwq01cg49a-gnumake-4.3.drv': 1 dependencies couldn't be
built
cannot build derivation '/nix/store/g3m3li94ssqlrfiizwb3p25i3bn0qnjh-gnused-4.8.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/brq0nxmsdprdfnchj5m7yg5ixvg73234-gnutar-1.32.drv': 1 dependencies couldn't be
built
cannot build derivation '/nix/store/j22lql3lz51n9jxb13lmzvd8ql6gfg03-gzip-1.10.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/bfmif40vm2wy3kb3gbksvzmg4l83sv3w-hook.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/q1gc892rgzfpkl9fllb90rgwxwssl6r2-linux-headers-5.5.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/686zass8gsmhcymxjllrlkh3cq89wf7k-patch-2.7.6.drv': 1 dependencies couldn't be
built
cannot build derivation '/nix/store/z628cw8zsj9j1k56q251ldmr1ln9sqc5-ncurses-6.2.drv': 1 dependencies couldn't be
built
cannot build derivation '/nix/store/1zr7y9b9isfhyx084gnxf73mq9i4mr3d-openssl-1.1.1h.drv': 1 dependencies couldn't
be built
cannot build derivation '/nix/store/lphysgyzm36rxq4xs0l2xgkgardqr79x-perl-5.32.0.drv': 1 dependencies couldn't be
built
cannot build derivation '/nix/store/2kfan8fnl5gclr3hkl7l60m69c8qmqhf-stdenv-linux.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/k2xlqxr7pgan6mw8slakvb5dbnj4d98y-stdenv-linux.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/11wf4k9yy0g3jb713m47pq9k6via5yx3-vim-8.2.1522.drv': 1 dependencies couldn't be built
error: build of '/nix/store/11wf4k9yy0g3jb713m47pq9k6via5yx3-vim-8.2.1522.drv' failed

i believe the main issue here is this "bootstrap tools" that is unable to be set up for some reason

DavHau commented 3 years ago

Hey I'm not sure which privileges you have on this system. It's always good to enable the sandbox option in you nix config. This requires userspaces to work.

I think it's quite pointless to build stuff yourself on that kind of hardware. It will probably take days to finish, since it has to build all tools for bootstrapping itself. I think your best chance is to get the cache working.

Did you already try setting export NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1 like suggested in the error message of your first post?

DavHau commented 3 years ago

BTW, you don't need to install cachix. Just manipulate the config fields extra-substituters and trusted-public-keys like mentioned in the readme of this project. That is basically the same as the cachix tool would do if you execute cachix add

EDIT: also make sure you're on one of the nix channels which are actually contained in the cache. See the list here: https://hydra.cons.org.nz/project/thefloweringash-armv7

Fuseteam commented 3 years ago

i have not tried setting the allow unsupported no, i'll might look into the sandbox feature first; i was under the impression that sandbox was on by default.

i was looking at the nix channel itself and it appears most packages run into errors, which is why nix is attempting to build it i can confirm that i set the cache correctly as i managed to install bash (one of the succesful builds on that cache) albeit i ended up using the binary-caches and binary-cache-public-keys fields

DavHau commented 3 years ago

Oh I didn't even know about binary-caches and binary-cache-public-keys. That is probably the better way to do it ;) BTW, I can recommend you to join the IRC channel #nixos-aarch64 on freenode .There are a bunch of guys who know about arm related stuff a lot more than me.

Fuseteam commented 3 years ago

ohw cool i will check if i can join that, as floweringash's cache doesn't have many successful build atm, and me having no idea how he set it up, i'm now trying to setup a cache with github-actions fwiw

DavHau commented 3 years ago

Sounds cool. Let me know how in case you succeed. Maybe we can add it to the list of caches later. Another alternative you could try is running aarch64 stuff. Your CPU doesn't support it directly, but it can be emulated. That might be very inefficient, but at least aarch64 stuff is all cached and works out of the box. For this to work you'd need to setup qemu and binfmt.

Fuseteam commented 3 years ago

i doubt that will work out well on such a low powered device tbh, but i'll keep it in mind

Fuseteam commented 3 years ago

looks like on building for the cache it run into the orginal issue with ghc :joy: https://github.com/Fuseteam/thefloweringash-armv7/runs/1412133556?check_suite_focus=true

Fuseteam commented 3 years ago

yeet looks like the ghc issue is solved with this pr

Fuseteam commented 3 years ago

so it does appear to have pushed to my cache but if it did i have no idea what to make out of this

Fuseteam commented 3 years ago

thanks to lucas my repo is now compiling using github hub actionsfor armhf and arm64 and pushing to cachix but i still run the same issue on my phone for some reason

DavHau commented 3 years ago

I think there is no need to push arm64 to your cache. Arm64 (aarch64) is already cached on cache.nixos.org AFAIK. Concerning you problem, I'm afraid I have no idea. The only thing that comes to my mind is to check the sandbox setting. But I guess you already did.

Fuseteam commented 3 years ago

It checks if its upstream first before It pushes, there also are two separate caches one for each.

Maybe i should double check the sandbox setting. How do i do that?

Fuseteam commented 3 years ago

Could it the revision/channel nix is using on my phone?

DavHau commented 3 years ago

Sure, which channel are you on? For best stability you should probably use either nixos-20.03 or nixos-20.09.

Fuseteam commented 3 years ago

i think i'm on unstable, not sure it it also 'nixos' on an ubuntu distro?

Fuseteam commented 3 years ago

hmm i wonder if this is related to my issue https://github.com/NixOS/nixpkgs/pull/103925

Fuseteam commented 3 years ago

hmm doesn't look like i get closer after the merge hmmm

update: eureka! i'm an idiot! i was overwriting cache.nixos.org and its public key with my binary-caches, it still doesn't fetch vim from my cache but it certainly does not run into the same issues from before

Fuseteam commented 3 years ago

i have now removed the unstable channel in an attempt to force it to hit the nix-20.09 channel but it doesn't find any packages now :/

Fuseteam commented 3 years ago

hmmm i wonder how much of this list is common to all binaries:

  /nix/store/9zy00qbnyph038mc644yy3qsbjbdgimh-bootstrap-stage0-stdenv-linux.drv
  /nix/store/5p23i1vhd7g5zj7dk53fr8223a89ivjk-bootstrap-stage0-glibc.drv
  /nix/store/w1bs6sb6ll19zsggdvhq6yvqf4gir08m-bootstrap-stage0-binutils-wrapper-.drv
  /nix/store/g39spappxfa4swqpz5h838rgyrpid76v-bootstrap-stage1-gcc-wrapper-.drv
  /nix/store/7km9kkblrvn79869cp72dm77k0kc9wp4-bootstrap-stage1-stdenv-linux.drv
  /nix/store/0fyi6isggljjh9g1ky8y5fhiyf4jl4fd-gnum4-1.4.18.drv
  /nix/store/2wrd518flqd37vbjxc5zr48a4n5byapb-expand-response-params.drv
  /nix/store/mdabnp6nqiy1q0y7nr1b20qcqrbkp1pv-perl-5.32.1.drv
  /nix/store/q5vr8mm225n8mmxb79c19qf0b5mkx85r-zlib-1.2.11.drv
  /nix/store/s8p0kvd9zli96s10cczs7ydxq14fdc4l-bison-3.7.5.drv
  /nix/store/88gibg0jp7xliwhxkfw7vgn8ys5kn202-xz-5.2.5.drv
  /nix/store/xgwnvycwln005i8rj4wbsadkac662nmz-gettext-0.21.drv
  /nix/store/zlpx8wndkazj0vvy73sr9m7b99wr92i2-texinfo-6.7.drv
  /nix/store/0sih54xshxmjwl7ccg8g8wjnsz1h8115-binutils-2.35.1.drv
  /nix/store/2yhi6w5ijyczly0hxpjq4chjw5mi9b8k-bootstrap-stage1-stdenv-linux.drv
  /nix/store/mykb7qpx8nw62sqz87w95nxlkdkibvdp-binutils-wrapper-2.35.1.drv
  /nix/store/k5b1mzk3335gypzdnmjifwg37d8p8nwd-bootstrap-stage2-gcc-wrapper-.drv
  /nix/store/qngpx84pfbyprw66k79br5wln6xgg3h1-bootstrap-stage2-stdenv-linux.drv
  /nix/store/0pdgyd8kd91gzy8ql1wy6h99sga255n3-gnu-config-2021-01-25.drv
  /nix/store/clhr2gccd0c6fgnnc44d41zvvf7n54hw-expand-response-params.drv
  /nix/store/bm3ss84k8rpi7brppyfyypz9cvjyiz4w-bootstrap-stage2-stdenv-linux.drv
  /nix/store/4ngxfnja9g5i6lxqqwhkmvks4na34vxb-python-setup-hook.sh.drv
  /nix/store/610il16b4bb7vcjrfgrgh6v2j0pzxvkd-xz-5.2.5.drv
  /nix/store/9rn38r16p3rim8pimm1fllyl8h7j99yy-libffi-3.3.drv
  /nix/store/dcgpbaj3syna3j1kznlk0vm9bi7saf1i-expat-2.2.10.drv
  /nix/store/i8c3yb97mx6y4n8lh6qzra95ls0hpjyz-zlib-1.2.11.drv
  /nix/store/43k7g7d4dljd70pymjlkbpyaiyxlf1q5-gettext-0.21.drv
  /nix/store/pqwdhp7rsbzfy4q7bibfik6ix4jbzfz9-autoconf-2.70.drv
  /nix/store/7hr9j2h2ix4jmj6h4dqrwl2za955szda-automake-1.16.3.drv
  /nix/store/jjk5y5h69q97ih6ha49s3qjw26zhzcmm-perl-5.32.1.drv
  /nix/store/2bg9zfhnan7ayfz2pyhypcs7jmci7s4m-perl5.32.1-gettext-1.07.drv
  /nix/store/sak1lvbjw1inw1rbffnrrr6nm3jyjxvd-help2man-1.47.17.drv
  /nix/store/vxcmfxvbfjmlv8lbpwfx4q6gzxxrys7v-libtool-2.4.6.drv
  /nix/store/lg5b6shymxyzrpigsmcb76j00q1bqd2r-hook.drv
  /nix/store/ifa9ml1hppxd0bvdk288g7wsncd1gsa4-bzip2-1.0.6.0.1.drv
  /nix/store/myg99h0i59v1223v2hlcx3c1s7d4zvs8-bash-4.4-p23.drv
  /nix/store/x7k147faa4z3l1h4v13cip18k70hpzi2-nuke-references.drv
  /nix/store/ry00fs9cksys4b3gfn9b64hfz4m3rc2q-python3-minimal-3.8.8.drv
  /nix/store/nc8yj0cca5by4d6bdx7q9gkbazai9kw4-bootstrap-stage0-glibc-iconv-.drv
  /nix/store/5w2kh4d99ykk1z35w02f1xgnl4x34clq-libunistring-0.9.10.drv
  /nix/store/s2aikxzqp57rsn3b9y2l866cr94zp2xn-libidn2-2.3.0.drv
  /nix/store/x0mnkgf6cqggb12isag8a9d4fkyjhhqz-linux-headers-5.11.drv
  /nix/store/ib84r9lxwfgnyaal7iwsk5yk0hp5vg6s-glibc-2.32-37.drv
  /nix/store/pyl655lk5asxrsg7lwqansnmipki31fz-binutils-wrapper-2.35.1.drv
  /nix/store/9fq14bzy4bwq2czmyc2rxkjmhk30i102-bootstrap-stage3-gcc-wrapper-.drv
  /nix/store/av0lxssa7m1lvw7qh45a0bnahjc8jahv-patchelf-0.12.drv
  /nix/store/x92x8r10ywkvm9q8mmzky850rx0jjb9z-hook.drv
  /nix/store/qfhv6p4ss7scf4nyg876dzw9pi7rvyhj-bootstrap-stage3-stdenv-linux.drv
  /nix/store/njxfpm1psznw45i86x933h4bwl58rpm9-gnu-config-2021-01-25.drv
  /nix/store/xyli5w3bzsh0yqn2mqa7smnswbr1f10a-bootstrap-stage3-stdenv-linux.drv
  /nix/store/645f74pd5hv55q17402jiyqv2z5mly6g-hook.drv
  /nix/store/pps0k9zkvz9q4y7z9db86r567b33zdvh-xz-5.2.5.drv
  /nix/store/q6k65pdcfjiz56fd2hp9in46xrc9sxf1-expand-response-params.drv
  /nix/store/zjha21yg0l2krcxq1k55pd7npxym0sld-gmp-6.2.1.drv
  /nix/store/21d1zkkgz2ha37xidsgc0dbx2j9q64wq-isl-0.20.drv
  /nix/store/5lcjbkidsd5p9nc91l4cm5rrkf9q0y5n-mpfr-4.1.0.drv
  /nix/store/flasq4dc1m56rf7wcs41kpba91lqcd35-which-2.21.drv
  /nix/store/pxc42xnx1qgbj76yiq0vh5kg2gz5l7ny-texinfo-6.7.drv
  /nix/store/rf0fwdz3a1kczbd9087zbb1vp68lrjaa-gettext-0.21.drv
  /nix/store/wd5ck9ijx6pdp2yrq6kb77vb7cvxy0aj-libelf-0.8.13.drv
  /nix/store/yy00r735r3v4c4rs84yy5s3nsak5f48y-zlib-1.2.11.drv
  /nix/store/z11bysjznl48cvxcmhp8vz1fh30hd1ab-libmpc-1.2.0.drv
  /nix/store/sabq255mp42kjbd96jgv7z0haz3ic2l7-gcc-10.2.0.drv
  /nix/store/w8xj25x6qzjlvck5y9s78fc1w1qlv0lp-bootstrap-stage4-gcc-wrapper-10.2.0.drv
  /nix/store/nz0kj0f7mgfna5j135dhzpw4kprr016n-bootstrap-stage4-stdenv-linux.drv
  /nix/store/rfrzwxkhl650p76r4m21di26lq6pfawi-attr-2.4.48.drv
  /nix/store/2jzdvzlc3kk1rlv8gpk2yvmiwzgs2l2m-acl-2.2.53.drv
  /nix/store/wwkxm77hj8f74rbam3yjv1iygzqnf6mj-xz-5.2.5.drv
  /nix/store/d633f9qqzpqgn3gm3dai3n22fnjj9jwn-coreutils-8.32.drv
  /nix/store/17a9pzihpmxj62dycvg7wqf453siir3x-findutils-4.7.0.drv
  /nix/store/1h3ni6m94yc45g8qfz23ignsql9dwg8n-binutils-2.35.1.drv
  /nix/store/5m7rcqas2l9a2cxk0sw5cs2qh9znb7f6-bash-4.4-p23.drv
  /nix/store/af8bx274ic5pim89ri2ijxhjfj92argb-bootstrap-stage4-stdenv-linux.drv
  /nix/store/6ngswjzscd8xx26hjr6n9w669l7dgqd9-glibc-iconv-2.32-37.drv
  /nix/store/nf1n83bnisqaazhcypmihfqq22amjf3g-pcre-8.44.drv
  /nix/store/70ijs2bgvwz0dsql9px96ryly515s2hd-gnugrep-3.6.drv
  /nix/store/nk2i8drlj3dvvl53cbggmk8i6f9iwkfm-binutils-wrapper-2.35.1.drv
  /nix/store/3kyl723dlp34ivywhp6i3vhpiy02fjpl-gcc-wrapper-10.2.0.drv
  /nix/store/532wpkzj1ywiz2099178lzra9f3m7b61-gnu-config-2021-01-25.drv
  /nix/store/6i107dhiw7kn71mdz4sb043vn7l1h8zb-hook.drv
  /nix/store/k20gnysx45l9wrvzfwysb7cm3a6vmbfw-autoconf-2.70.drv
  /nix/store/3wbvg4l4xyhzpvsna8mqfmkf2558a88w-automake-1.16.3.drv
  /nix/store/fbmd1k75plpilhghh552zf04fr064n68-perl-5.32.1.drv
  /nix/store/5d91nv4l5grkdjdax4iskqjz55vbqkx6-perl5.32.1-gettext-1.07.drv
  /nix/store/rpg20dvqkdp6cbjhyhagpdl74c9wkvjc-help2man-1.47.17.drv
  /nix/store/3xmc2swfbwy5xd3gd349s9zxwrclhplb-libtool-2.4.6.drv
  /nix/store/qzq7f8bl9dbx4fzpk0pvvz9sb85sr3gh-hook.drv
  /nix/store/6pj7421l758vjcyqk1yy63szwfr94grv-bzip2-1.0.6.0.1.drv
  /nix/store/p6bqgd191alx93059j6sgz9p353fyspx-lzip-1.22.drv
  /nix/store/9s0kj9iwxkd4nnpwd2nvdwngi0d3062w-ed-1.17.drv
  /nix/store/ajbbaapxjny55n635jw6fxzpj9ca345f-diffutils-3.7.drv
  /nix/store/c4y8a9aj240qxc8ccwngb32hsz70midm-gawk-5.1.0.drv
  /nix/store/i1q9fvp77q5m6m6m01y5gni79n1l0kpr-patchelf-0.12.drv
  /nix/store/lprxzpf868lr47v8f8r28bb8la31qxkp-gnused-4.8.drv
  /nix/store/qfijy5066f3sgkhvi8cc8gzmxsqlgka9-gnumake-4.3.drv
  /nix/store/cjxa0apwgdwgnbjyxaksnn4a4mqy83i7-setup-hook.drv
  /nix/store/v3a418kn8bq7yf8q2wxs0xjawv6fbnlg-gzip-1.10.drv
  /nix/store/xxvq4fsvpn3rf2d4k526lq3x7p1zf50s-patch-2.7.6.drv
  /nix/store/yapgds3137i9rwxbzxalsn5x6r87a609-gnutar-1.32.drv
  /nix/store/1lg84bq37sdbhjhh66mw30jrixg54lnx-stdenv-linux.drv
  /nix/store/gx61cr10znwl8a1zpivbmka7d3h40jg0-stdenv-linux.drv
  /nix/store/s2cp17g99h5m3mkjrmln4gkls59bifmb-pkg-config-0.29.2.drv
  /nix/store/56sl480k9h1lrzymfvh4jgflnxc3mia8-pkg-config-wrapper-0.29.2.drv
  /nix/store/f4ca7i7q56ablgy1iq9ca9nw1p84jd81-ncurses-6.2.drv
  /nix/store/qagx680iqfx6ar786lm51k85jklp9s8x-gettext-0.21.drv