google-cloud-sdk/components: use fetchurl instead of builtins.fetchurl
These URLs don't need to be fetched at evaluation time. This change speeds up evaluation considerably for these components and allows them to be used in Hydra.
This commit is contained in:
parent
1813936aff
commit
05d09a6da3
@ -1,5 +1,6 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, system
|
||||
, snapshotPath
|
||||
, autoPatchelfHook
|
||||
@ -137,7 +138,7 @@ let
|
||||
inherit pname version snapshot;
|
||||
src =
|
||||
lib.optionalString (src != "")
|
||||
(builtins.fetchurl
|
||||
(fetchurl
|
||||
{
|
||||
url = src;
|
||||
inherit sha256;
|
||||
|
Loading…
Reference in New Issue
Block a user