s|/nix/store|$NIX_STORE|

svn path=/nixpkgs/trunk/; revision=30094
This commit is contained in:
Shea Levy 2011-10-28 23:44:49 +00:00
parent c3ef673ff1
commit 0f80aa96a6

View File

@ -27,7 +27,7 @@ done
echo "closure:"
ensureDir $out/lib/modules/"$version"
for module in $closure; do
target=$(echo $module | sed "s^/nix/store/.*/lib/modules/^$out/lib/modules/^")
target=$(echo $module | sed "s^$NIX_STORE.*/lib/modules/^$out/lib/modules/^")
if test -e "$target"; then continue; fi
mkdir -p $(dirname $target)
echo $module