Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
installing nix on arm
https://hydra.angeldsis.com/build/97685
root@raspberrypi:~# wget https://hydra.angeldsis.com/build/97685/download/1/nix_tarball.tar.xz
root@raspberrypi:/# tar -xvf /root/nix_tarball.tar.xz
root@raspberrypi:/# chown pi -R nix-path-registration nix-built nix
pi@raspberrypi:~ $ /nix-built/bin/nix-store --load-db < /nix-path-registration
pi@raspberrypi:~ $ /nix-built/bin/nix-env -i /nix-built
installing 'nix-2.3.1-armv7l-unknown-linux-gnueabihf'
building '/nix/store/lyc72g07w38hjvs314d9alzcxn05wij9-user-environment.drv'...
created 5 symlinks in user environment
pi@raspberrypi:~ $ source /nix-built/etc/profile.d/nix.sh
pi@raspberrypi:~ $ nix-env -q
nix-2.3.1-armv7l-unknown-linux-gnueabihf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.