From 22eb0e22d3d7bd980450bbbeca5b7f8fd8e2ad86 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Thu, 18 Dec 2014 22:43:05 +0300 Subject: [PATCH] nixos-install: fix -I flag --- nixos/modules/installer/tools/nixos-install.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nixos/modules/installer/tools/nixos-install.sh b/nixos/modules/installer/tools/nixos-install.sh index b685da6a083f..9dfc322b9f74 100644 --- a/nixos/modules/installer/tools/nixos-install.sh +++ b/nixos/modules/installer/tools/nixos-install.sh @@ -30,8 +30,7 @@ while [ "$#" -gt 0 ]; do case "$i" in -I) given_path="$1"; shift 1 - absolute_path=$(readlink -m $given_path) - extraBuildFlags+=("$i" "/mnt$absolute_path") + extraBuildFlags+=("$i" "$given_path") ;; --root) mountPoint="$1"; shift 1