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 <[email protected]> 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 > [email protected] > http://lists.science.uu.nl/mailman/listinfo/nix-dev > >
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
