[Nix-dev] Nix OS installation problems - Where's the hard drive?
Alexander Zubkov
green at msu.ru
Tue Oct 14 09:56:24 CEST 2014
Yes, the system nixos tree is RO. I think you should make a whole copy
of it to your place from system's tree or from github:
git clone https://github.com/NixOS/nixpkgs.git
Then made your changes there and use release.nix from there for nix-build.
On 10/14/2014 07:29 AM, Joseph Joe wrote:
> David, the command
>
> $ nix-build "<nixpkgs/nixos/release.nix>" -A iso_graphical.x86_64-linux
>
> worked and created an iso. I made a live usb with it, but the problem
> persists. Upon booting, the only available hard drive is the usb.
>
> So, the iso did not use the system configuration.nix file.
>
> Alexander, could you elaborate on what I'd need to copy and change to
> embed these kernel changes? I tried to add the same lines of code (...
> SCSI_SAS_ATA y) into release.nix, but got an error saying that
> release.nix is part of a read only file system.
>
> On Sat, Oct 11, 2014 at 1:10 AM, David Guibert <david.guibert at gmail.com> wrote:
>>
>> Hi,
>>
>> On Sat, Oct 11, 2014 at 8:20 AM, Joseph Joe <joej at reed.edu> wrote:
>>> I now would like to create an image file from the configuration.
>>>
>>> I issued the command:
>>> $ export NIX_PATH=$NIXREPOS
>>
>> check both variables
>> $ echo $NIX_PATH
>> /nix/var/nix/profiles/per-user/root/channels/nixos
>>
>> You could also set it to your working directory of nixpkgs.
>>
>>> But, the command:
>>> $ nix-build -A iso_graphical.x86_64-linux $NIXREPOS/nixos/release.nix
>>
>> Do build an ISO, you could use
>>
>> $ nix-build "<nixpkgs/nixos/release.nix>" -A iso_graphical.x86_64-linux
>>
>> "<nixpkgs>" will be substituted by the path of nixpkgs by looking up
>> inside $NIX_PATH.
>> --
>> Regards, David
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
More information about the nix-dev
mailing list