[Nix-dev] Nix OS installation problems - Where's the hard drive?

Wout Mertens wout.mertens at gmail.com
Fri Oct 10 18:24:47 CEST 2014


Hmmm, maybe it's missing other required kernel parameters?

http://cateee.net/lkddb/web-lkddb/SCSI_SAS_ATA.html seems to suggest you
also need to set CONFIG_SCSI_SAS_LIBSAS. I don't know how to run the kernel
configurator on nixos :(

As part of the install, it downloads the nixpkgs expressions to /nix/store:

$ ls /nix/store/*/nixpkgs/nixos/release.nix
/nix/store/5mpw0lr921jswgx6ilgb0587q1vlac73-user-environment/nixpkgs/nixos/release.nix
/nix/store/p3wrav40j6gxgpnmi75s69jsdwfsc0v6-nixpkgs-14.10pre50084.b360955/nixpkgs/nixos/release.nix
/nix/store/psnp5nnxb2v1prsznvj1rrm3md5q515j-user-environment/nixpkgs/nixos/release.nix
/nix/store/sf36k00idxxvgm2rx8yff5lmnmln75jk-nixpkgs-14.10pre50188.0b23b5b/nixpkgs/nixos/release.nix

So you need to pick one of those as your NIX_PATH.

Wout.

On Fri, Oct 10, 2014 at 5:34 PM, Joseph Joe <joej at reed.edu> wrote:

> I also have a working NixOS on a laptop now (The live-usb recognized
> this harddrive).
>
> I added the kernelConfig parameter in my configuration.nix file
> (attached), but
> there are build errors. Specifically, after running nixos-rebuild
> switch, it ends with the following output:
>
> GOT:
> GOT: #
> GOT: # configuration written to .config
> GOT: #
> building config
> GOT: make: Leaving directory
> `/tmp/nix-build-linux-config-3.12.28.drv-0/linux-3.12.28'
> unused option: CONFIG_SCSI_SAS_ATA
> builder for `/nix/store/0xynni7sbs8ck8p7cri356ryn3dfif
> qp-linux-config-3.12.28.drv'
> failed with exit code 255
> cannot build derivation
> `/nix/store/5fl9127mvpvjswhlsj02lzvs121ha98m-linux-3.12.28.drv': 1
> dependencies couldn't be built
> cannot build derivation
> `/nix/store/niq6zlss38cqyg28mkqx42d214kfm2vh-nixos-14.04.519.b9bde98.drv':
> 1 dependencies couldn't be built
> error: build of
> `/nix/store/niq6zlss38cqyg28mkqx42d214kfm2vh-nixos-14.04.519.b9bde98.drv'
> failed
>
> Is there an error in my configuration file?
>
> Also, for creating an iso out of a NixOS configuration, I need to run
> these commands:
>
>  (https://nixos.org/wiki/Creating_a_NixOS_live_CD)
> export NIX_PATH=$NIXREPOS
> nix-build -A iso_graphical.x86_64-linux $NIXREPOS/nixos/release.nix
>
> But, there is no file release.nix on my computer.
>
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20141010/215968a7/attachment-0001.html 


More information about the nix-dev mailing list