1
1
mirror of https://github.com/nmattia/niv.git synced 2024-11-07 22:36:53 +03:00

Make builtin-tarball the default

This commit is contained in:
Michael Peyton Jones 2019-05-23 20:36:39 +01:00 committed by Nicolas Mattia
parent 0c48736b06
commit 96afc24d7e

View File

@ -67,7 +67,7 @@ with rec
let fetcherName =
if builtins.hasAttr "type" spec
then builtins.getAttr "type" spec
else "tarball";
else "builtin-tarball";
in builtins.getAttr fetcherName {
"tarball" = fetchzip;
"builtin-tarball" = builtins_fetchTarball;