lix/src/libfetchers
Théophane Hufschmitt 027fd45230 Fix a segfault in the git fetcher
The git fetcher code used to dereference the (potentially empty) `ref`
input attribute. This was magically working, probably because the
compiler somehow outsmarted us, but is now blowing up with newer nixpkgs
versions.

Fix that by not trying to access this field while we don't know for sure
that it has been defined.

Fix #6554
2022-05-27 16:15:28 +02:00
..
attrs.cc Fix conversion from JSON to fetch attributes 2021-01-05 02:06:25 +00:00
attrs.hh fix error: 'optional' in namespace 'std' does not name a template type 2021-06-02 18:09:03 +08:00
cache.cc libfetchers: Rename immutable -> locked 2022-02-24 18:09:00 +01:00
cache.hh libfetchers: Rename immutable -> locked 2022-02-24 18:09:00 +01:00
fetch-settings.cc Move some stuff from Settings to a new FetchSettings. 2022-03-01 01:39:25 +00:00
fetch-settings.hh Point to new github oauth docs url 2022-03-06 17:01:14 -06:00
fetchers.cc don't assume that rev is a SHA1 hash 2022-04-07 19:49:47 +02:00
fetchers.hh libfetchers: Rename immutable -> locked 2022-02-24 18:09:00 +01:00
git.cc Fix a segfault in the git fetcher 2022-05-27 16:15:28 +02:00
github.cc fix GitHub URL template 2022-05-12 00:56:39 +02:00
indirect.cc InputScheme::fetch(): Return a StorePath instead of a Tree 2022-02-16 11:14:01 +01:00
local.mk Don't overwrite user provided lib*_LDFLAGS 2021-08-25 08:59:19 -07:00
mercurial.cc Avoid fmt when constructor already does it 2022-04-19 01:44:11 +00:00
path.cc libfetchers: remove obsolete filesystem #include 2022-03-15 12:32:11 +01:00
registry.cc Move some stuff from Settings to a new FetchSettings. 2022-03-01 01:39:25 +00:00
registry.hh Style tweaks 2021-07-07 10:02:55 +02:00
tarball.cc Typo 2022-05-25 15:29:27 +02:00