mirror of
https://github.com/nmattia/niv.git
synced 2024-09-19 11:27:40 +03:00
Make builtin-tarball the default
This commit is contained in:
parent
0c48736b06
commit
96afc24d7e
@ -67,7 +67,7 @@ with rec
|
|||||||
let fetcherName =
|
let fetcherName =
|
||||||
if builtins.hasAttr "type" spec
|
if builtins.hasAttr "type" spec
|
||||||
then builtins.getAttr "type" spec
|
then builtins.getAttr "type" spec
|
||||||
else "tarball";
|
else "builtin-tarball";
|
||||||
in builtins.getAttr fetcherName {
|
in builtins.getAttr fetcherName {
|
||||||
"tarball" = fetchzip;
|
"tarball" = fetchzip;
|
||||||
"builtin-tarball" = builtins_fetchTarball;
|
"builtin-tarball" = builtins_fetchTarball;
|
||||||
|
Loading…
Reference in New Issue
Block a user