From 1bcfec1e87e511406cfa02abc285b4445c5ab67e Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Tue, 11 Jul 2017 19:48:49 +0200 Subject: [PATCH] home-manager: remove unnecessary variable setting The `NIX_PATH` variable is set by the `setHomeManagerModulesPath` function so it is unnecessary to set it again. (cherry picked from commit 98c7b23178df174ee36c6b643d2b865644604ca5) --- home-manager/home-manager | 2 -- 1 file changed, 2 deletions(-) diff --git a/home-manager/home-manager b/home-manager/home-manager index d70eda7af..cdc68cf25 100644 --- a/home-manager/home-manager +++ b/home-manager/home-manager @@ -67,8 +67,6 @@ function doBuild() { exit 1 fi - export NIX_PATH="$NIX_PATH${NIX_PATH:+:}home-manager=@MODULES_PATH@" - local extraArgs extraArgs=""