mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
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 changed files with 2 additions and 1 deletions
|
@ -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 a new issue