Last active
December 23, 2019 15:09
-
-
Save cleverca22/16873623f6a33ee192f0f4cdf4d2b598 to your computer and use it in GitHub Desktop.
installing nix on arm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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