[Nix-dev] read-only store on its own filesystem
Hi all, I have my /nix/store on a separate filesystem. It seems that because of this, the new read-only store functionality does not work. In stage-2-init.sh (line 53): if [ -n "@readOnlyStore@" ]; then if ! mountpoint -q /nix/store; then mount --bind /nix/store /nix/store mount -o remount,ro,bind /nix/store fi fi mountpoint -q will return successfully in my case and skip setting up the read-only stuff. Why is this check there? Is there a reason not to use this functionality when a mountpoint (store on other fs) is detected? Thanks, Mathijs ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] cross toolchain howto request
http://nixos.org/wiki/CrossCompiling Is all I know about. If people tell you additional information that would eventually be the place to add documentation. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] cross toolchain howto request
Hello! I'd like to build cross toolchains for several archs (arm-none-elf, x86-none-elf plus some others). I need only compilers since my goal is to try to build some embedded kernels, so as far as I know I don't need to cross-build coreutils or other user-space stuff. Also, I don't need any linux headers. Is there any nixos expression to help me? For example, xbursttools uses pkgsCross.gccCrossStageStatic built for mipsel. But if I understand the expression correctly, it actually builds whole cross-system with linux-kernel and headers and then picks up the gcc. Is there a simpler solution? Sergey By the way, what is the difference between static and non-static cross gcc? ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev