1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-20 23:28:26 -04:00
nix/src/libstore
Eelco Dolstra ef92a14bfe * Include config.h before the C library headers, because it defines
_FILE_OFFSET_BITS=64.  Without it, functions like stat() fail on
  large file sizes.  This happened with a Nix store on squashfs:

  $ nix-store --dump /tmp/mnt/46wzqnk4cbdwh1dclhrpqnnz1icak6n7-local-net-cmds > /dev/null
  error: getting attributes of path `/tmp/mnt/46wzqnk4cbdwh1dclhrpqnnz1icak6n7-local-net-cmds': Value too large for defined data type

  $ stat /tmp/mnt/46wzqnk4cbdwh1dclhrpqnnz1icak6n7-local-net-cmds
  File: `/tmp/mnt/46wzqnk4cbdwh1dclhrpqnnz1icak6n7-local-net-cmds'
  Size: 0               Blocks: 36028797018963968 IO Block: 1024   regular empty file

  (This is a bug in squashfs or mksquashfs, but it shouldn't cause Nix
  to fail.)
2009-12-17 14:12:44 +00:00
..
build.cc * Include config.h before the C library headers, because it defines 2009-12-17 14:12:44 +00:00
derivations-ast.def * Automatically upgrade <= 0.7 Nix stores to the new schema (so that 2005-02-09 09:50:29 +00:00
derivations.cc * Use foreach in a lot of places. 2009-04-21 11:52:16 +00:00
derivations.hh * Build correctly against newer ATerm releases. Fixes "error: 'union' 2009-12-16 15:29:50 +00:00
gc.cc * Randomise the order in which we delete entries to make the collector 2009-11-24 09:53:18 +00:00
globals.cc * No longer block while waiting for a lock on a store path. Instead 2009-03-23 01:05:54 +00:00
globals.hh * No longer block while waiting for a lock on a store path. Instead 2009-03-23 01:05:54 +00:00
local-store.cc * Remove support for old (before Nix 0.12pre12020) databases. 2009-11-06 01:15:44 +00:00
local-store.hh * Made the garbage collector a lot faster. It no longer computes the 2009-11-23 16:34:24 +00:00
Makefile.am * Remove support for old (before Nix 0.12pre12020) databases. 2009-11-06 01:15:44 +00:00
misc.cc * Use foreach in a lot of places. 2009-04-21 11:52:16 +00:00
misc.hh * nix-env --dry-run: show the total size of the substituter 2008-08-04 12:29:04 +00:00
optimise-store.cc * And some more. 2009-09-24 07:39:55 +00:00
pathlocks.cc * Use foreach in a lot of places. 2009-04-21 11:52:16 +00:00
pathlocks.hh * No longer block while waiting for a lock on a store path. Instead 2009-03-23 01:05:54 +00:00
references.cc 2009-03-30 19:35:55 +00:00
references.hh * Scan for references and compute the SHA-256 hash of the output in 2009-03-28 20:51:33 +00:00
remote-store.cc * Remove the --use-atime / --max-atime garbage collector flags. Many 2009-11-20 17:12:38 +00:00
remote-store.hh * Open the connection to the daemon lazily (on demand) so that 2008-12-11 14:30:25 +00:00
store-api.cc * Remove the --use-atime / --max-atime garbage collector flags. Many 2009-11-20 17:12:38 +00:00
store-api.hh * `nix-store --gc --print-roots': also print the path of the actual 2009-11-23 17:23:12 +00:00
worker-protocol.hh * Pass --use-atime / --max-atime to the daemon. 2008-12-16 12:23:35 +00:00