mirror of
https://github.com/urbit/shrub.git
synced 2024-11-24 04:58:08 +03:00
build: force google-cloud-sdk to use python3
This prevents an error where the python2 version of the SDK tries to use the monotonic library which is unable to detect the host operating system inside the sandbox - exploding in typical python fashion. By using python3 it obviates the need for the monotonic dependency by using the builtin time.monotonic call.
This commit is contained in:
parent
b1790b1b3a
commit
244a9b6a06
@ -1,4 +1,4 @@
|
||||
{ lib, makeEffect, google-cloud-sdk }:
|
||||
{ lib, makeEffect, python3, google-cloud-sdk }:
|
||||
|
||||
{ bucket, object, name, file, contentType, serviceAccountKey }:
|
||||
|
||||
@ -14,7 +14,7 @@ in makeEffect {
|
||||
|
||||
name = "push-${name}";
|
||||
|
||||
inputs = [ google-cloud-sdk ];
|
||||
inputs = [ (google-cloud-sdk.override { python = python3; }) ];
|
||||
|
||||
dontUnpack = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user