I'm just learning nix(os). I followed your presentation on GitHub but I'm getting the following error when I attempt to run:
nix run github:balsoft/hello-flake
in a raspberry pi with a recently installed nixos.
Thoughts?
[steve@nixpi:~]$ nix run github:balsoft/hello-flake
error: builder for '/nix/store/l6rj47wbs7n8w5vvqyrxkcmjfl7rnqh4-ghc-8.6.5-binary.drv' failed with exit code 1;
last 10 log lines:
> Patchelfing /nix/store/d56lx3bxdvpxii0c85wv8yqya24sd3m2-ghc-8.6.5-binary/lib/ghc-8.6.5/base-4.12.0.0/libHSbase-4.12.0.0-ghc8.6.5.so
> Patchelfing /nix/store/d56lx3bxdvpxii0c85wv8yqya24sd3m2-ghc-8.6.5-binary/lib/ghc-8.6.5/ghc-prim-0.5.3/libHSghc-prim-0.5.3-ghc8.6.5.so
> Patchelfing /nix/store/d56lx3bxdvpxii0c85wv8yqya24sd3m2-ghc-8.6.5-binary/lib/ghc-8.6.5/filepath-1.4.2.1/libHSfilepath-1.4.2.1-ghc8.6.5.so
> Patchelfing /nix/store/d56lx3bxdvpxii0c85wv8yqya24sd3m2-ghc-8.6.5-binary/lib/ghc-8.6.5/directory-1.3.3.0/libHSdirectory-1.3.3.0-ghc8.6.5.so
> Patchelfing /nix/store/d56lx3bxdvpxii0c85wv8yqya24sd3m2-ghc-8.6.5-binary/lib/ghc-8.6.5/ghc-heap-8.6.5/libHSghc-heap-8.6.5-ghc8.6.5.so
> Patchelfing /nix/store/d56lx3bxdvpxii0c85wv8yqya24sd3m2-ghc-8.6.5-binary/lib/ghc-8.6.5/ghc-8.6.5/libHSghc-8.6.5-ghc8.6.5.so
> Patchelfing /nix/store/d56lx3bxdvpxii0c85wv8yqya24sd3m2-ghc-8.6.5-binary/lib/ghc-8.6.5/ghc-boot-8.6.5/libHSghc-boot-8.6.5-ghc8.6.5.so
> Patchelfing /nix/store/d56lx3bxdvpxii0c85wv8yqya24sd3m2-ghc-8.6.5-binary/lib/ghc-8.6.5/deepseq-1.4.4.0/libHSdeepseq-1.4.4.0-ghc8.6.5.so
> running install tests
> /nix/store/k832pghqg9z887j8py47ddhwzrn4yj1f-stdenv-linux/setup: line 1310: 3361 Segmentation fault (core dumped) $out/bin/ghc --make main.hs
For full logs, run 'nix-store -l /nix/store/l6rj47wbs7n8w5vvqyrxkcmjfl7rnqh4-ghc-8.6.5-binary.drv'.
error: 1 dependencies of derivation '/nix/store/pjnwlai7y725qvbsx87v0l9d8sxh543h-ghc-8.8.4.drv' failed to build
error: 1 dependencies of derivation '/nix/store/bly67lhkp8bqf7vp1xgdddqjlwivis34-my-hello.drv' failed to build
I'm just learning nix(os). I followed your presentation on GitHub but I'm getting the following error when I attempt to run:
nix run github:balsoft/hello-flake
in a raspberry pi with a recently installed nixos.
Thoughts?