lix/src/libfetchers
Maximilian Bosch 2bcf8cbe7a
libfetchers/github: allow url attribute
Since 108debef6f we allow a
`url`-attribute for the `github`-fetcher to fetch tarballs from
self-hosted `gitlab`/`github` instances.

However it's not used when defining e.g. a flake-input

    foobar = {
        type = "github";
        url = "gitlab.myserver";
        /* ... */
    }

and breaks with an evaluation-error:

    error: --- Error --------------------------------------nix
    unsupported input attribute 'url'
    (use '--show-trace' to show detailed location information)

This patch allows flake-inputs to be fetched from self-hosted instances
as well.
2020-09-18 14:10:45 +02:00
..
attrs.cc Remove TreeInfo 2020-05-30 00:44:11 +02:00
attrs.hh Remove TreeInfo 2020-05-30 00:44:11 +02:00
cache.cc Backport libfetchers from the flakes branch 2020-04-07 09:03:14 +02:00
cache.hh Shut up a clang warning 2020-07-03 14:50:07 +02:00
fetchers.cc Remove optionality in ValidPathInfo::narInfo 2020-08-05 14:42:48 -04:00
fetchers.hh Make the store plugins more introspectable 2020-09-16 13:53:08 +02:00
git.cc Don't try to parse signature check as commit timestamp 2020-08-13 17:44:42 -07:00
github.cc libfetchers/github: allow url attribute 2020-09-18 14:10:45 +02:00
indirect.cc Merge branch 'hash-always-has-type' of github.com:obsidiansystems/nix into better-ca-parse-errors 2020-07-16 17:28:52 +00:00
local.mk StorePath: Rewrite in C++ 2020-06-16 14:28:41 +02:00
mercurial.cc Fix indentation 2020-07-31 01:07:59 +00:00
path.cc Rename two hash constructors to proper functions 2020-07-01 18:34:18 -04:00
registry.cc addPermRoot(): Remove indirect flag 2020-09-03 11:29:34 +02:00
registry.hh Remove TreeInfo 2020-05-30 00:44:11 +02:00
tarball.cc Minimize the usage of Hash::dummy 2020-08-06 18:31:48 +00:00