Remove creation of /dev/{fd,stdin,stdout,stderr}
This is already provided by devtmpfs.
This commit is contained in:
parent
bb030ece3b
commit
16bdaf3d03
@ -117,14 +117,7 @@ in
|
|||||||
|
|
||||||
config = {
|
config = {
|
||||||
|
|
||||||
system.activationScripts.stdio =
|
system.activationScripts.stdio = ""; # obsolete
|
||||||
''
|
|
||||||
# Needed by some programs.
|
|
||||||
ln -sfn /proc/self/fd /dev/fd
|
|
||||||
ln -sfn /proc/self/fd/0 /dev/stdin
|
|
||||||
ln -sfn /proc/self/fd/1 /dev/stdout
|
|
||||||
ln -sfn /proc/self/fd/2 /dev/stderr
|
|
||||||
'';
|
|
||||||
|
|
||||||
system.activationScripts.var =
|
system.activationScripts.var =
|
||||||
''
|
''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user