aboutsummaryrefslogtreecommitdiff
path: root/scripts/nix-prefetch-url.in
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2013-03-07 19:39:55 -0500
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-03-25 19:00:16 +0100
commit2c9cf5074642459b37f19a2d4c6bc0233248d3a4 (patch)
treef0d7e719c13a9669ddfe7fa2a26b434c6d45a466 /scripts/nix-prefetch-url.in
parentc3fc60d9369fc802b33f75d2d9cd6ef22b916112 (diff)
makeStoreWritable: Use statvfs instead of /proc/self/mountinfo to find out if /nix/store is a read-only bind mount
/nix/store could be a read-only bind mount even if it is / in its own filesystem, so checking the 4th field in mountinfo is insufficient. Signed-off-by: Shea Levy <shea@shealevy.com>
Diffstat (limited to 'scripts/nix-prefetch-url.in')
0 files changed, 0 insertions, 0 deletions