mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
buildFHSEnv: don't include /var
This mostly prevents random junk from leaking into fhsenvs, but also fixes Steam not having a /var anymore.
This commit is contained in:
parent
ea2a73f1ad
commit
50d782b1ff
@ -245,7 +245,7 @@ let
|
||||
done
|
||||
cd ..
|
||||
|
||||
for i in var etc opt; do
|
||||
for i in etc opt; do
|
||||
if [ -d "${staticUsrProfileTarget}/$i" ]; then
|
||||
cp -rsHf "${staticUsrProfileTarget}/$i" "$i"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user