aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/optimise-store.cc
diff options
context:
space:
mode:
authorAntoine Eiche <lewo@abesis.fr>2020-04-29 14:39:37 +0200
committerAntoine Eiche <lewo@abesis.fr>2020-04-29 15:43:20 +0200
commitca93b26db6d2d73e702ea8ecdd0a98f17ace2c7b (patch)
tree8ebcf30f1abbd645212cc11badcfb29b4c7f3ca7 /src/libstore/optimise-store.cc
parent06849c3090615d85dbba17b674e97dff71bd41bc (diff)
Only call grantpt on MacOS systems
The commit 3cc1125595d97b4ab7369e37e4ad22f4cfecb8b2 adds a `grantpt` call on the builder pseudo terminal fd. This call is actually only required for MacOS, but it however requires a RW access to /dev/pts which is only RO bindmounted in the Bazel Linux sandbox. So, Nix can not be actually run in the Bazel Linux sandbox for unneeded reasons.
Diffstat (limited to 'src/libstore/optimise-store.cc')
0 files changed, 0 insertions, 0 deletions