forked from mirrors/nixpkgs
* HAL expects a /media directory for mounting removable media.
svn path=/nixos/trunk/; revision=17437
This commit is contained in:
parent
3d5462c980
commit
693e017bfe
|
@ -94,7 +94,6 @@ let
|
|||
|
||||
mkdir -m 1777 -p /var/tmp
|
||||
|
||||
|
||||
# Empty, read-only home directory of many system accounts.
|
||||
mkdir -m 0555 -p /var/empty
|
||||
'' [
|
||||
|
@ -176,6 +175,10 @@ let
|
|||
# Prevent the current configuration from being garbage-collected.
|
||||
ln -sfn /var/run/current-system /nix/var/nix/gcroots/current-system
|
||||
'';
|
||||
|
||||
media = noDepEntry ''
|
||||
mkdir -p /media
|
||||
'';
|
||||
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue