[Nix-dev] Best practices for replacing channels with my own package set?
James Cook
james.cook at utoronto.ca
Sat Jun 6 05:19:05 CEST 2015
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 <jefdaj at gmail.com> wrote:
> Thanks, the mkForce was what I was missing!
> Jeff
>
> On Tue, 2 Jun 2015 00:31:35 +0200
> Herwig Hochleitner <hhochleitner at gmail.com> 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
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
More information about the nix-dev
mailing list