Hi,

I would like nix to work on powerpc-linux.  It seems that somebody
already did something in nixpkgs but it does not work.

I added powerpc-linux to linux in lib/platforms.nix.

Now I get the following error:

$ ~/nix/build/bin/nix-env -iA pkgs.hello -f ~/nixpkgs --show-trace
installing ‘hello-2.10’
error: while evaluating the attribute ‘stdenv’ of the derivation ‘hello-2.10’ 
at /home/hlavaty/nixpkgs/pkgs/applications/misc/hello/default.nix:4:3:
while evaluating the attribute ‘initialPath’ of the derivation ‘stdenv’ at 
/home/hlavaty/nixpkgs/pkgs/stdenv/generic/default.nix:239:14:
while evaluating the attribute ‘stdenv’ of the derivation ‘xz-5.2.2’ at 
/home/hlavaty/nixpkgs/pkgs/tools/compression/xz/default.nix:4:3:
while evaluating the attribute ‘defaultNativeBuildInputs’ of the derivation 
‘stdenv’ at /home/hlavaty/nixpkgs/pkgs/stdenv/generic/default.nix:239:14:
while evaluating the attribute ‘buildCommand’ of the derivation ‘cc-native’ at 
/home/hlavaty/nixpkgs/pkgs/build-support/cc-wrapper/default.nix:32:3:
value is null while a set was expected, at 
/home/hlavaty/nixpkgs/pkgs/build-support/cc-wrapper/default.nix:174:38

I think that cc is not defined.  It seens that it uses native stdenv
(not sure what that means).  Any ideas what should be the next step to
fix this?

Thank you!

Tomas
_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to