# ARMv7l builds on cachix

**URL:** https://discourse.nixos.org/t/armv7l-builds-on-cachix/788
**Category:** Announcements
**Created:** [August 25, 2018, 6:10pm UTC](https://discourse.nixos.org/t/armv7l-builds-on-cachix/788 "2018-08-25T18:10:24Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![tom](https://discourse.nixos.org/letter_avatar_proxy/v4/letter/t/3d9bf3/32.png) [@tom](https://discourse.nixos.org/u/tom)
#### Post date: [August 25, 2018, 6:10pm UTC](https://discourse.nixos.org/t/armv7l-builds-on-cachix/788/1 "2018-08-25T18:10:25Z")

</div>

In case this saves someone some time. I’ve been pushing relatively recent caches of stdenv to [https://arm.cachix.org/](https://arm.cachix.org/)

Public key: arm.cachix.org-1:fGqEJIhp5zM7hxe/Dzt9l9Ene9SY27PUyx3hT9Vvei0=

---

<div class="post-metadata">

### Author: ![makefu](https://discourse.nixos.org/user_avatar/discourse.nixos.org/makefu/32/37_2.png) [@makefu](https://discourse.nixos.org/u/makefu)
#### Post date: [September 4, 2018, 6:52am UTC](https://discourse.nixos.org/t/armv7l-builds-on-cachix/788/2 "2018-09-04T06:52:44Z")

</div>

> [@tom](#):
>
> arm.cachix.org-1:fGqEJIhp5zM7hxe/Dzt9l9Ene9SY27PUyx3hT9Vvei0=

Heya, i’ve added the info to the [wiki](https://nixos.wiki/wiki/NixOS_on_ARM#armv6l_and_armv7l). Which release is the binary cache tracking?

---

<div class="post-metadata">

### Author: ![tom](https://discourse.nixos.org/letter_avatar_proxy/v4/letter/t/3d9bf3/32.png) [@tom](https://discourse.nixos.org/u/tom)
#### Post date: [September 5, 2018, 11:28am UTC](https://discourse.nixos.org/t/armv7l-builds-on-cachix/788/3 "2018-09-05T11:28:24Z")

</div>

Usually a few weeks behind nixpkgs master.

---

<div class="post-metadata">

### Author: ![tom](https://discourse.nixos.org/letter_avatar_proxy/v4/letter/t/3d9bf3/32.png) [@tom](https://discourse.nixos.org/u/tom)
#### Post date: [October 7, 2018, 10:45pm UTC](https://discourse.nixos.org/t/armv7l-builds-on-cachix/788/4 "2018-10-07T22:45:08Z")

</div>

I’ll push again tonight.

---

<div class="post-metadata">

### Author: ![dotlambda](https://discourse.nixos.org/letter_avatar_proxy/v4/letter/d/b487fb/32.png) [@dotlambda](https://discourse.nixos.org/u/dotlambda)
#### Post date: [October 15, 2018, 9:36am UTC](https://discourse.nixos.org/t/armv7l-builds-on-cachix/788/5 "2018-10-15T09:36:21Z")

</div>

Is there a way to see which revision is currently served by [https://arm.cachix.org/](https://arm.cachix.org/)?

---

<div class="post-metadata">

### Author: ![tomberek](https://discourse.nixos.org/user_avatar/discourse.nixos.org/tomberek/32/283_2.png) [@tomberek](https://discourse.nixos.org/u/tomberek)
#### Post date: [October 21, 2018, 4:36am UTC](https://discourse.nixos.org/t/armv7l-builds-on-cachix/788/6 "2018-10-21T04:36:11Z")

</div>

Not that I’m aware of. Currently on [https://releases.nixos.org/nixpkgs/nixpkgs-18.09pre149190.fe6ebf85b76/nixexprs.tar.xz](https://releases.nixos.org/nixpkgs/nixpkgs-18.09pre149190.fe6ebf85b76/nixexprs.tar.xz)

Will try to bring it up to 19.03.

---

<div class="post-metadata">

### Author: ![tomberek](https://discourse.nixos.org/user_avatar/discourse.nixos.org/tomberek/32/283_2.png) [@tomberek](https://discourse.nixos.org/u/tomberek)
#### Post date: [October 21, 2018, 8:15pm UTC](https://discourse.nixos.org/t/armv7l-builds-on-cachix/788/7 "2018-10-21T20:15:45Z")

</div>

Pushed 19.03  
/nix/store/4fgnyhwv9srmdd4rjf7smlcqy5ms69w7-stdenv-linux

---

<div class="post-metadata">

### Author: ![NickHu](https://discourse.nixos.org/user_avatar/discourse.nixos.org/nickhu/32/1135_2.png) [@NickHu](https://discourse.nixos.org/u/NickHu)
#### Post date: [April 6, 2019, 10:56pm UTC](https://discourse.nixos.org/t/armv7l-builds-on-cachix/788/8 "2019-04-06T22:56:12Z")

</div>

Hi, just wondering if this is still alive/being updated and what revision it’s on at the moment. ~~Some of the wiki information for NixOS on ARM seems to be a bit outdated. After following the instructions on [NixOS on ARM - NixOS Wiki](https://nixos.wiki/wiki/NixOS_on_ARM#First_rebuild_on_ARMv6_and_ARMv7), I can’t seem to rebuild with a channel updated to whatever nixos-unstable is on now.~~

 

I get an error log ending in

```auto
...
  /nix/store/mvingdc00i4kybz7f2xy9dc2xv0pni1b-boost-1.67.0.drv
  /nix/store/mvs8pyjprdpbgkcnacw9lvp8yk9zdgnw-libsodium-1.0.16.drv
  /nix/store/x9r4306kxabc62hrbj5zzhw755myh2k1-source.drv
  /nix/store/qnd60yc290avvg1d98n7w2v4lbnb7czj-brotli-1.0.7.drv
  /nix/store/px98kyyshqi2cnh0wsdlsj2fkh72zgf7-busybox-1.30.1.tar.bz2.drv
  /nix/store/y23ddv8k2cyzs05iihq5wrk4ks9fiysc-busybox-1.30.1.drv
  /nix/store/kl4d2lhm2g1m641w0dcfaw6382dbnylx-nix-2.2.drv
building '/nix/store/c8svmxmwjkzvwszy8ga7x2fwx0qbmm10-bash44-001.drv'...
building '/nix/store/f30binazxhx8g0xkiav6lglp29h4a164-bash44-002.drv'...
building '/nix/store/6kxn0zj4ipzpg2p4csxzy64njknwydy6-autoconf-2.69.tar.xz.drv'...
building '/nix/store/blxkv9dzwnkrvq2chdy307sd9gz5mn3k-automake-1.16.1.tar.xz.drv'...
fixed-output derivation produced path '/nix/store/b532v0f48jbhw151h7v8v6ab8vshlj4z-autoconf-2.69.tar.xz' with sha256 hash '05s19ghbic9whsqsgja87qfjibm0i350daz8i2dawd2xymyc6yjg' instead of the expected hash '113nlmidxy9kjr45kg9x3ngar4951mvag1js2a3j8nxcz34wxsv4'
cannot build derivation '/nix/store/drsa84a2791ali0fgnnf77a69yw1apw6-autoconf-2.69.drv': 1 dependencies couldn't be built
building '/nix/store/q8hxz4f402ps0vwhj3sgfyp6x0ss35sv-bash44-003.drv'...
building '/nix/store/djmmx28jvbngp9wa15z4xasllaaqd1z0-bash44-004.drv'...
cannot build derivation '/nix/store/8hlfh1k5mhcn67hlrd25jwpdldiyjyqy-hook.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/9y5b9xbhji6vszxkdk2xpl5037k89vz1-patch-2.7.6.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/64d40fiyz7ffqs1hzmmwaz1vr9vqn1av-stdenv-linux.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/dpvbx7rxvfam7jz4iszljwnihdhh3fl5-stdenv-linux.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/kl4d2lhm2g1m641w0dcfaw6382dbnylx-nix-2.2.drv': 1 dependencies couldn't be built
error: build of '/nix/store/kl4d2lhm2g1m641w0dcfaw6382dbnylx-nix-2.2.drv' failed

```

~~I’m not sure why I’m getting hash errors; is it possible something broke in nixpkgs between master and `ca2ba44cab47767c8127d1c8633e2b581644eb8f` (which is what @dezgeg’s site caches, and what you get after the first rebuild)?~~

2019-04-07T12:00:00Z Edit: I found the cause of the issue [#2393](https://github.com/NixOS/nix/issues/2393); I have updated the wiki accordingly. Nonetheless, it would still be nice to know which revision is on [https://arm.cachix.org/](https://arm.cachix.org/) at the moment.

---

<div class="post-metadata">

### Author: ![doronbehar](https://discourse.nixos.org/user_avatar/discourse.nixos.org/doronbehar/32/1387_2.png) [@doronbehar](https://discourse.nixos.org/u/doronbehar)
#### Post date: [July 29, 2019, 9:33am UTC](https://discourse.nixos.org/t/armv7l-builds-on-cachix/788/9 "2019-07-29T09:33:01Z")

</div>

That could be a nice feature to add to [cachix](https://github.com/cachix/cachix) in general. Related: [Search over executables · Issue #18 · cachix/cachix · GitHub](https://github.com/cachix/cachix/issues/18)

---

<div class="post-metadata">

### Author: ![DavHau](https://discourse.nixos.org/user_avatar/discourse.nixos.org/davhau/32/2324_2.png) [@DavHau](https://discourse.nixos.org/u/DavHau)
#### Post date: [August 2, 2020, 7:37am UTC](https://discourse.nixos.org/t/armv7l-builds-on-cachix/788/10 "2020-08-02T07:37:57Z")

</div>

Seems like all caches listed on [User:Samueldr/NixOS on ARM - NixOS Wiki](https://nixos.wiki/wiki/User:Samueldr/NixOS_on_ARM#armv6l_and_armv7l) including the one from this thread are out of date.  
Are there any alternatives around? Building with qemu takes ages

---

<div class="post-metadata">

### Author: ![DavHau](https://discourse.nixos.org/user_avatar/discourse.nixos.org/davhau/32/2324_2.png) [@DavHau](https://discourse.nixos.org/u/DavHau)
#### Post date: [August 2, 2020, 5:40pm UTC](https://discourse.nixos.org/t/armv7l-builds-on-cachix/788/11 "2020-08-02T17:40:25Z")

</div>

Great news!  
There is an up-to-date cache for armv7l on [Cachix - Nix binary cache hosting](https://app.cachix.org/cache/thefloweringash-armv7) which provides several [channels](https://hydra.cons.org.nz/project/thefloweringash-armv7).  
I updated the [wiki](https://nixos.wiki/wiki/NixOS_on_ARM)

---

<div class="post-metadata">

### Author: ![tomberek](https://discourse.nixos.org/user_avatar/discourse.nixos.org/tomberek/32/283_2.png) [@tomberek](https://discourse.nixos.org/u/tomberek)
#### Post date: [August 8, 2020, 9:45pm UTC](https://discourse.nixos.org/t/armv7l-builds-on-cachix/788/12 "2020-08-08T21:45:26Z")

</div>

What’s the latest on installing to ARMv7l? Available installers/images? I might start playing with some boards I have lying around.

---

<div class="post-metadata">

### Author: ![DavHau](https://discourse.nixos.org/user_avatar/discourse.nixos.org/davhau/32/2324_2.png) [@DavHau](https://discourse.nixos.org/u/DavHau)
#### Post date: [August 10, 2020, 5:51am UTC](https://discourse.nixos.org/t/armv7l-builds-on-cachix/788/13 "2020-08-10T05:51:37Z")

</div>

Currently there are no official installers or releases for nix/nixos for armv7l. You gonna have to build most of the stuff yourself and this is only really feasible on an existing armv7l system. Cross compiling is buggy and emulation too slow. I released a nix binary tarball and a guide here: [GitHub - DavHau/nix-on-armv7l: Nix without NixOS on arm32v7 / armv7l / Raspberry Pi OS / Raspbian](https://github.com/DavHau/nix-on-armv7l) .

In general armv7l is not a nice experience. You gonna spend a lot of hours waiting for builds to finish since the currently available binary cache is quite limited.

Better to go for aarch64 which is officially supported. If you have a raspberry with raspbian you can easily switch it to aarch64. Scroll down here for some more info [How to install nix package manager on Raspbian? - #11 by janat08](https://discourse.nixos.org/t/how-to-install-nix-package-manager-on-raspbian/2035/11) . Or just flash a full aarch64 NixOS onto your hardware right away.

The people on the #nixos-aarch64 irc channel are also very helpful (also with armv7l)
