Files
nix/tests
Eelco Dolstra 90fe1dfd2f Register flake source trees as GC roots
This ensures that flakes don't get garbage-collected, which is
important to get nix-channel-like behaviour.

For example, running

  $ nix build hydra:

will create a GC root

  ~/.cache/nix/flake-closures/hydra -> /nix/store/xarfiqcwa4w8r4qpz1a769xxs8c3phgn-flake-closure

where the contents/references of the linked file in the store are the
flake source trees used by the 'hydra' flake:

  /nix/store/n6d5f5lkpfjbmkyby0nlg8y1wbkmbc7i-source
  /nix/store/vbkg4zy1qd29fnhflsv9k2j9jnbqd5m2-source
  /nix/store/z46xni7d47s5wk694359mq9ay353ar94-source

Note that this in itself is not enough to allow offline use; the
fetcher for the flakeref (e.g. fetchGit or downloadCached) must not
fail if it cannot fetch the latest version of the file, so long as it
knows a cached version.

Issue #2868.
2019-05-23 23:53:25 +02:00
..
2018-05-30 13:28:01 +02:00
2018-08-06 14:06:54 +02:00
2017-05-02 15:46:10 +02:00
2014-08-21 21:50:19 +02:00
2018-01-22 17:04:08 +01:00
2019-03-04 18:27:45 +08:00
2019-05-07 23:32:09 +02:00
2016-08-10 18:05:35 +02:00
2018-02-13 14:26:19 +00:00
2014-08-21 21:50:19 +02:00
2018-02-03 10:08:05 +01:00
2014-08-21 21:50:19 +02:00
2016-09-12 13:40:07 +02:00
2019-03-10 01:50:33 +01:00
2006-07-21 13:21:43 +00:00
2018-12-13 14:30:52 +01:00
2019-03-04 18:27:45 +08:00
2014-08-21 21:50:19 +02:00
2019-05-07 23:32:09 +02:00
2018-02-13 14:26:19 +00:00
2017-10-02 23:45:27 -04:00
2018-02-08 13:46:23 +01:00
2018-01-16 19:23:18 +01:00
2016-08-10 18:05:35 +02:00
2016-08-10 18:05:35 +02:00
2018-01-16 19:23:18 +01:00
2017-11-20 18:36:36 +01:00
2018-02-25 16:40:05 -06:00
2019-04-08 16:11:36 +02:00
2016-04-11 16:20:15 +02:00
2007-08-13 13:15:02 +00:00
2016-10-19 15:19:38 +02:00
2016-09-08 18:22:28 +02:00
2012-12-04 14:47:50 +01:00
2012-12-04 14:47:50 +01:00
2018-02-08 15:25:03 +01:00