From fd3c516828a517c0c3b569d8be0799b134948907 Mon Sep 17 00:00:00 2001 From: Wittano Bonarotti Date: Sat, 24 Aug 2024 22:20:38 +0200 Subject: [PATCH] fix(command): missing context during play a new track --- bot/log/types.go | 2 +- flake.lock | 6 +++--- shell.nix | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/bot/log/types.go b/bot/log/types.go index 86942e3..6c463d9 100644 --- a/bot/log/types.go +++ b/bot/log/types.go @@ -43,7 +43,7 @@ func NewCtxWithRequestID(ctx context.Context) Context { requestID = "" } - return NewContext(nil, requestID) + return NewContext(context.Background(), requestID) } func NewContext(ctx context.Context, uuid string) Context { diff --git a/flake.lock b/flake.lock index b828ecb..f7f34e8 100644 --- a/flake.lock +++ b/flake.lock @@ -20,11 +20,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1724300212, - "narHash": "sha256-x3jl6OWTs+L9C7EtscuWZmGZWI0iSBDafvg3X7JMa1A=", + "lastModified": 1724395761, + "narHash": "sha256-zRkDV/nbrnp3Y8oCADf5ETl1sDrdmAW6/bBVJ8EbIdQ=", "owner": "nixos", "repo": "nixpkgs", - "rev": "4de4818c1ffa76d57787af936e8a23648bda6be4", + "rev": "ae815cee91b417be55d43781eb4b73ae1ecc396c", "type": "github" }, "original": { diff --git a/shell.nix b/shell.nix index 87dc554..74ddf52 100644 --- a/shell.nix +++ b/shell.nix @@ -6,6 +6,7 @@ , act , ... }: mkShell { + NIX_HARDENING_ENABLE = ""; hardeningDisable = [ "all" ]; nativeBuildInputs = [ go