s|/nix/store|$NIX_STORE|
svn path=/nixpkgs/trunk/; revision=30094
This commit is contained in:
parent
c3ef673ff1
commit
0f80aa96a6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user