Glad you figured it out. I had a symlink in my normal account's home
directory's .nix-defexpr like yours, and it only had an effect when
running nix-env as my normal user. Was always setting NIX_PATH on the
command line when running nixos-rebuild.

On 1 June 2015 at 17:26, Jeffrey David Johnson <[email protected]> wrote:
> Thanks, the mkForce was what I was missing!
> Jeff
>
> On Tue, 2 Jun 2015 00:31:35 +0200
> Herwig Hochleitner <[email protected]> wrote:
>
>> I set NIX_PATH in environment.sessionVariables (with an mkForce, to
>> override the builtin one). nix-env and everything else should pick it up,
>> that way, since that's the location it's predefined.
> _______________________________________________
> 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

Reply via email to