mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-03 02:35:52 +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