Eelco Dolstra
276a40b31f
Handle case collisions on case-insensitive systems
...
When running NixOps under Mac OS X, we need to be able to import store
paths built on Linux into the local Nix store. However, HFS+ is
usually case-insensitive, so if there are directories with file names
that differ only in case, then importing will fail.
The solution is to add a suffix ("~nix~case~hack~<integer>") to
colliding files. For instance, if we have a directory containing
xt_CONNMARK.h and xt_connmark.h, then the latter will be renamed to
"xt_connmark.h~nix~case~hack~1". If a store path is dumped as a NAR,
the suffixes are removed. Thus, importing and exporting via a
case-insensitive Nix store is round-tripping. So when NixOps calls
nix-copy-closure to copy the path to a Linux machine, you get the
original file names back.
Closes #119 .
2014-07-16 16:02:05 +02:00
..
2014-07-04 13:34:15 +02:00
2011-10-10 21:32:34 +00:00
2014-02-26 18:59:01 +01:00
2011-02-09 14:03:16 +00:00
2012-07-26 18:28:12 -04:00
2010-08-25 20:44:28 +00:00
2013-10-17 11:18:37 +02:00
2014-07-11 16:22:24 +02:00
2014-07-16 16:02:05 +02:00
2014-07-16 16:02:05 +02:00
2009-03-17 17:11:55 +00:00
2011-10-10 21:32:34 +00:00
2014-02-17 12:22:50 +01:00
2013-11-25 18:47:03 +01:00
2014-02-26 18:59:01 +01:00
2006-07-21 13:21:43 +00:00
2006-07-21 13:21:43 +00:00
2013-10-17 01:12:43 +02:00
2011-10-10 21:32:34 +00:00
2014-02-26 17:47:54 +01:00
2013-11-18 10:21:12 +00:00
2013-11-18 10:21:12 +00:00
2012-09-11 19:14:15 -04:00
2011-10-10 21:32:34 +00:00
2012-07-09 15:41:43 -04:00
2012-09-11 19:14:15 -04:00
2009-03-17 17:11:55 +00:00
2011-10-10 21:32:34 +00:00
2007-09-11 13:32:04 +00:00
2007-08-28 09:21:47 +00:00
2009-03-17 17:11:55 +00:00
2012-09-11 19:14:15 -04:00
2008-08-14 09:26:30 +00:00
2008-08-14 09:26:30 +00:00
2009-03-17 17:11:55 +00:00
2011-10-10 21:32:34 +00:00
2009-03-17 17:11:55 +00:00
2012-03-19 01:20:02 +01:00
2014-02-26 18:00:46 +01:00
2006-07-21 13:21:43 +00:00
2012-03-19 01:20:02 +01:00
2012-01-26 13:04:50 +00:00
2012-09-11 19:14:15 -04:00
2014-05-02 19:02:10 +02:00
2012-07-26 18:28:12 -04:00
2014-05-26 14:55:47 +02:00
2014-07-16 16:02:05 +02:00
2014-02-26 17:58:53 +01:00
2014-02-19 16:34:24 +01:00
2012-09-11 19:14:15 -04:00
2012-11-26 17:46:45 +01:00
2009-03-25 21:05:42 +00:00
2012-09-11 19:14:15 -04:00
2012-09-11 19:14:15 -04:00
2012-07-26 18:28:12 -04:00
2014-07-10 01:53:56 +02:00
2014-02-01 15:37:50 +01:00
2012-09-12 11:29:10 -04:00
2012-07-26 18:28:12 -04:00
2014-02-26 17:53:51 +01:00
2014-02-06 13:51:57 +01:00
2009-03-23 15:16:36 +00:00
2013-11-25 18:47:03 +01:00
2014-02-06 13:54:44 +01:00
2014-07-14 12:19:27 +02:00
2014-02-26 22:41:29 +01:00
2014-02-17 23:24:12 +01:00
2011-08-08 14:08:38 +00:00
2012-09-11 19:14:15 -04:00
2007-08-13 13:15:02 +00:00
2009-03-17 17:11:55 +00:00
2011-10-10 21:32:34 +00:00
2013-06-20 11:55:15 +02:00
2013-06-20 11:55:15 +02:00
2011-10-10 21:32:34 +00:00
2011-10-10 21:32:34 +00:00
2013-09-02 12:44:30 +02:00
2013-04-23 17:16:29 +02:00
2013-09-02 12:44:30 +02:00
2012-12-04 14:47:50 +01:00
2012-12-04 14:47:50 +01:00
2014-02-26 18:45:26 +01:00