From 63adb41f1a060c21a68143eb9e86c2790ef66f36 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 8 Aug 2024 10:45:09 +0200 Subject: ... --- overlays/postfix-mta-sts-resolver/default.nix | 1 + overlays/preserve-dscp/default.nix | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'overlays') diff --git a/overlays/postfix-mta-sts-resolver/default.nix b/overlays/postfix-mta-sts-resolver/default.nix index 49fbb7c9..d930cefb 100644 --- a/overlays/postfix-mta-sts-resolver/default.nix +++ b/overlays/postfix-mta-sts-resolver/default.nix @@ -3,6 +3,7 @@ postfix-mta-sts-resolver = with prev.poetry2nix; mkPoetryApplication { + python = prev.python311; inherit (sources.postfix-mta-sts-resolver) pname version; projectDir = cleanPythonSources { src = prev.runCommand "sources" {} '' diff --git a/overlays/preserve-dscp/default.nix b/overlays/preserve-dscp/default.nix index 73721083..a1064591 100644 --- a/overlays/preserve-dscp/default.nix +++ b/overlays/preserve-dscp/default.nix @@ -10,7 +10,8 @@ buildFlags = [ "preserve-dscp" ]; CPATH = prev.lib.makeSearchPathOutput "dev" "include" (buildInputs ++ nativeBuildInputs); - BPF_CFLAGS = "-Wno-unused-command-line-argument -fno-stack-protector"; + BPF_CFLAGS = "-Wno-unused-command-line-argument"; + hardeningDisable = [ "stackprotector" "zerocallusedregs" ]; outputs = [ "out" "lib" ]; -- cgit v1.2.3