Hi!

Nikita Karetnikov <[email protected]> skribis:

> scheme@(guile-user)> (nixpkgs-derivation "hello")
> ERROR: In procedure open-process:
> ERROR: Wrong type (expecting string): #f
>
> Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
> scheme@(guile-user) [1]> 

Can you type ,locals at that point, to display local variables?

Most likely the problem is that (%nixpkgs-directory) is #f.  To fix
that, you need to either run configure --with-nixpkgs=/path/to/nixpkgs,
or set the ‘NIXPKGS’ environment variable.

HTH,
Ludo’.

Reply via email to