[Nix-dev] GCC fails to compile on a scaleway arm server

2015-12-18 Thread Théophane Hufschmitt
Hi, nix users.

I am trying to bootstrap nixos on a scaleway dedicaced arm server 
().

I managed to install nix without problem, but fail to compile GCC.
I've attached the log file (it's rather big, I suppose the interesting part is 
"/tmp/nix-build-gcc-4.9.3.drv-4/build/armv7l-unknown-linux-gnueabihf/libsanitizer/libtool:
 line 8070:  4405 Illegal instruction" at the end of the file, but couldn't 
find the cause for it) and my config.nix (the values for gcc are taken from the 
gcc in the debian image I'm running, so I assume they are good).

Has anyone an idea of the problem ?

--
Théophane Hufschmitt


signature.asc
Description: PGP signature
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] GCC fails to compile on a scaleway arm server

2015-12-18 Thread Théophane Hufschmitt
Fri, Dec 18, 2015 at 11:52:29AM +0100, Théophane 
Hufschmitt(rg_ni...@regnat.ovh) a écrit:
> 
> I've attached the log file (it's rather big, I suppose the interesting part 
> is 
> "/tmp/nix-build-gcc-4.9.3.drv-4/build/armv7l-unknown-linux-gnueabihf/libsanitizer/libtool:
>  line 8070:  4405 Illegal instruction" at the end of the file, but couldn't 
> find the cause for it) and my config.nix (the values for gcc are taken from 
> the gcc in the debian image I'm running, so I assume they are good).

Here is the default.nix... (The log is at )

--
Théophane Hufschmitt
{
  replaceStdenv = { pkgs }: pkgs.clangStdenv;
  packageOverrides = pkgs:
  {
platform = pkgs.platforms.armv7l-hf-multiplatform // {
  gcc = {
fpu = "vfpv3-d16";
arch = "armv7-a";
float = "hard";
  };
};
  };
}


signature.asc
Description: PGP signature
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Set up a Sufficiently Powerful Build Farm

2015-12-18 Thread Chris Forno
Peter Simons  cryp.to> writes:

> Anyhow, that's just a rough estimate. I don't know, really, what an ideal
> hardware / service platform for running such a virtual service would be. It
> would be great if a resident virtual server / NAS / system management guru
> could chime in with suggestions; I'm sure the NixOS crowd has people who know
> that kind of stuff and who can design the infrastructure for such a build
> farm.

I'd be happy to help, as I think I can use the experience to figure out
archiving build
sources ().
Ideally we can find a way to not only allow a user to populate a Nix store on
their machine with all sources for a given nixpkgs checkout but also to ship
the sources of all successful hydra builds to some long-term storage.

It would be interesting to also measure/project the storage required to
archive all builds produced by hydra across time.

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


Re: [Nix-dev] Virtualbox on Nixos15.09, Error: NS_ERROR_FAILURE (0x80004005)

2015-12-18 Thread rohit yadav
After loading the vboxdrv manually, it moves forward but complains as
follows:
"An uknown group has write access to '/nix' and we therefore cannot trust
the directory content or that of any subdirectory
(VERR_SUPLIB_WRITE_NON_SYS_GROUP)"

Do I need to manually change the group of /nix directory to root?

--
Rohit

On Fri, Dec 18, 2015 at 4:53 PM, rohit yadav 
wrote:

> Hi,
>
> I am trying to run vagrant on NixOS with Virtualbox. I receive the above
> mentioned error when launching any machine with Virtualbox. On ubuntu it is
> fixed by dkms and vboxdrv module.
>
> Thanks,
> Rohit
>
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Virtualbox on Nixos15.09, Error: NS_ERROR_FAILURE (0x80004005)

2015-12-18 Thread rohit yadav
Changing the permission of of '/nix' by 'chmod g-w' solves the​ issue. Is
it a right solution?

On Fri, Dec 18, 2015 at 5:17 PM, rohit yadav 
wrote:

> After loading the vboxdrv manually, it moves forward but complains as
> follows:
> "An uknown group has write access to '/nix' and we therefore cannot trust
> the directory content or that of any subdirectory
> (VERR_SUPLIB_WRITE_NON_SYS_GROUP)"
>
> Do I need to manually change the group of /nix directory to root?
>
> --
> Rohit
>
> On Fri, Dec 18, 2015 at 4:53 PM, rohit yadav 
> wrote:
>
>> Hi,
>>
>> I am trying to run vagrant on NixOS with Virtualbox. I receive the above
>> mentioned error when launching any machine with Virtualbox. On ubuntu it is
>> fixed by dkms and vboxdrv module.
>>
>> Thanks,
>> Rohit
>>
>
>
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-dev] Virtualbox on Nixos15.09, Error: NS_ERROR_FAILURE (0x80004005)

2015-12-18 Thread rohit yadav
Hi,

I am trying to run vagrant on NixOS with Virtualbox. I receive the above
mentioned error when launching any machine with Virtualbox. On ubuntu it is
fixed by dkms and vboxdrv module.

Thanks,
Rohit
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev