[Nix-dev] nix-shell cannot create directory followed by closeNest: command not found

Mateusz Kowalczyk fuuzetsu at fuuzetsu.co.uk
Sun Apr 27 21:51:21 CEST 2014


On 04/27/2014 11:16 AM, Luca Bruno wrote:
> If you are using nixos unstable, try upgrading. That's related to a
> gdkpixbuf package bug that has been solved recently.
> 
> 
> On Sun, Apr 27, 2014 at 7:18 AM, Mateusz Kowalczyk
> <fuuzetsu at fuuzetsu.co.uk>wrote:
> 
>> Hi,
>>
>> I wanted to write some code for the Yi text editor today. It is a
>> Haskell program and I wanted to use nix to help me develop it. After
>> all, the ability to do this is one of the main reasons why I went for
>> NixOS.
>>
>> I followed instructions at [1] and using the Project Sandboxes section,
>> I have arrived at the default.nix file you can find at [2].
>>
>> When I run ‘nix-shell’, the dependencies listed get downloaded (and
>> installed?) but the incantation fails with:
>>
>>
>> [shana at lenalee:~/programming/yi/yi]$ nix-shell
>> mkdir: cannot create directory
>>
>> ‘/nix/store/d5d5bmdqn9pp05yixckdbiamnhdp8hfw-haskell-yi-ghc7.6.3-0.8.1-profiling’:
>> Read-only file system
>> closeNest: command not found
>>
>>
>> Is there something I'm missing? I thought that maybe it's a name-clash
>> with existing package (Yi is already packaged) but changing the version
>> string in default.nix revealed that wasn't the case.
>>
>>
>> [1]:
>> http://ocharles.org.uk/blog/posts/2014-02-04-how-i-develop-with-nixos.html
>> [2]: http://lpaste.net/103249
>>
>> --
>> Mateusz K.
>> _______________________________________________
>> nix-dev mailing list
>> nix-dev at lists.science.uu.nl
>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>
> 
> 
> 

Upgrading and playing with it for a second did the trick.

-- 
Mateusz K.


More information about the nix-dev mailing list