Allow overriding the tarball fetcher

This commit is contained in:
Enis Bayramoğlu 2023-11-07 20:12:58 +01:00 committed by GitHub
parent 0f9255e01c
commit 6ef9397736
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,7 @@
# containing 'defaultNix' (to be used in 'default.nix'), 'shellNix' # containing 'defaultNix' (to be used in 'default.nix'), 'shellNix'
# (to be used in 'shell.nix'). # (to be used in 'shell.nix').
{ src, system ? builtins.currentSystem or "unknown-system" }: { src, fetchTarball ? builtins.fetchTarball, system ? builtins.currentSystem or "unknown-system" }:
let let