lix/tests
Tony Olagbaiye 5b8c1deb18 fetchTree: Allow fetching plain files
Add a new `file` fetcher type, which will fetch a plain file over
http(s), or from the local file.

Because plain `http(s)://` or `file://` urls can already correspond to
`tarball` inputs (if the path ends-up with a know archive extension),
the URL parsing logic is a bit convuluted in that:

- {http,https,file}:// urls will be interpreted as either a tarball or a
  file input, depending on the extensions of the path part (so
  `https://foo.com/bar` will be a `file` input and
  `https://foo.com/bar.tar.gz` as a `tarball` input)
- `file+{something}://` urls will be interpreted as `file` urls (with
  the `file+` part removed)
- `tarball+{something}://` urls will be interpreted as `tarball` urls (with
  the `tarball+` part removed)

Fix #3785

Co-Authored-By: Tony Olagbaiye <me@fron.io>
2022-05-19 18:24:49 +02:00
..
ca nix: Respect meta.outputsToInstall, and use all outputs by default 2022-04-26 17:17:27 +02:00
config
lang Change json example to be original 2022-05-05 12:39:23 +03:00
plugins replace most Pos objects/ptrs with indexes into a position table 2022-04-21 21:46:06 +02:00
add.sh
bad.tar.xz
bash-profile.sh
big-derivation-attr.nix
binary-cache-build-remote.sh
binary-cache.sh
brotli.sh
build-dry.sh
build-hook-ca-fixed.nix
build-hook-ca-floating.nix
build-hook.nix
build-remote-content-addressed-fixed.sh
build-remote-content-addressed-floating.sh tests: remove 'ca-references' feature 2022-04-21 10:06:39 +02:00
build-remote-input-addressed.sh
build-remote.sh tests: Don't create tests/result 2022-05-02 09:38:51 +02:00
build.sh Make sure that nix build works in --impure mode 2022-05-05 14:53:59 +02:00
ca-shell.nix
case-hack.sh
case.nar
check-refs.nix
check-refs.sh
check-reqs.nix
check-reqs.sh
check.nix
check.sh
common.sh.in tests/lang: Distinguish crashes from expected failures 2022-05-02 15:12:50 +02:00
compression-levels.sh
compute-levels.sh
config.nix.in
config.sh
db-migration.sh
dependencies.builder0.sh
dependencies.nix
dependencies.sh
describe-stores.sh
dummy
dump-db.sh
eval-store.sh
eval.nix
eval.sh fix: builtins.toFile adds path to allowedPaths 2022-04-21 16:41:37 -04:00
export-graph.nix
export-graph.sh
export.sh
failing.nix
fetchClosure.sh tests: Don't create tests/result 2022-05-02 09:38:51 +02:00
fetchGit.sh Test fetchGit with non-'master' remote repo 2022-04-29 18:42:31 -04:00
fetchGitRefs.sh
fetchGitSubmodules.sh
fetchMercurial.sh
fetchPath.sh
fetchTree-file.sh fetchTree: Allow fetching plain files 2022-05-19 18:24:49 +02:00
fetchurl.sh
filter-source.nix
filter-source.sh
fixed.builder1.sh
fixed.builder2.sh
fixed.nix
fixed.sh
flake-bundler.sh
flake-local-settings.sh
flake-searching.sh
flakes-run.sh
flakes.sh Do not attempt to write a lock file in builtins.getFlake 2022-05-18 15:45:06 +02:00
fmt.sh
fmt.simple.sh
function-trace.sh
gc-auto.sh
gc-concurrent.builder.sh
gc-concurrent.nix
gc-concurrent.sh
gc-concurrent2.builder.sh
gc-non-blocking.sh
gc-runtime.nix
gc-runtime.sh
gc.sh
github-flakes.nix
hash-check.nix
hash.sh
import-derivation.nix
import-derivation.sh
impure-derivations.nix
impure-derivations.sh
init.sh
install-darwin.sh
lang.sh tests/lang: Distinguish crashes from expected failures 2022-05-02 15:12:50 +02:00
linux-sandbox.sh
local-store.sh
local.mk fetchTree: Allow fetching plain files 2022-05-19 18:24:49 +02:00
logging.sh
misc.sh
multiple-outputs.nix Allow selecting derivation outputs using 'installable!outputs' 2022-05-03 13:43:52 +02:00
multiple-outputs.sh
nar-access.nix
nar-access.sh
nix-build-examples.nix
nix-build.sh
nix-channel.sh
nix-copy-closure.nix
nix-copy-ssh.sh
nix-profile.sh Integrate review changes 2022-05-13 22:02:28 +02:00
nix-shell.sh
nix_path.sh
nss-preload.nix
optimise-store.sh
parallel.builder.sh
parallel.nix
parallel.sh
pass-as-file.sh
path.nix
placeholders.sh
plugins.sh
post-hook.sh Fix passing $OUT_PATHS to the post-build hook 2022-04-28 13:36:01 +02:00
pure-eval.nix
pure-eval.sh
push-to-store.sh Fix passing $OUT_PATHS to the post-build hook 2022-04-28 13:36:01 +02:00
readfile-context.builder.sh
readfile-context.nix
readfile-context.sh
recursive.sh
referrers.sh
remote-builds.nix
remote-store.sh
repair.sh
repl.sh
restricted.nix
restricted.sh
search.nix
search.sh
secure-drv-outputs.nix
secure-drv-outputs.sh
selfref-gc.sh Disable the selfref-gc test when the daemon is too old 2022-04-21 10:06:39 +02:00
setuid.nix
shell-hello.nix Allow selecting derivation outputs using 'installable!outputs' 2022-05-03 13:43:52 +02:00
shell.nix
shell.sh Allow selecting derivation outputs using 'installable!outputs' 2022-05-03 13:43:52 +02:00
shell.shebang.rb
shell.shebang.sh
signing.sh
simple-failing.nix
simple.builder.sh
simple.nix
simple.sh
sourcehut-flakes.nix
ssh-relay.sh
store-ping.sh
structured-attrs-shell.nix
structured-attrs.nix
structured-attrs.sh
substitute-with-invalid-ca.sh
suggestions.sh
tarball.sh
timeout.nix
timeout.sh
undefined-variable.nix
user-envs.builder.sh
user-envs.nix
user-envs.sh
why-depends.sh
zstd.sh