From 7831c98a4db589c84cf730db23793afe3fd90f2d Mon Sep 17 00:00:00 2001 From: Qyriad Date: Tue, 5 May 2026 16:01:56 +0200 Subject: [PATCH] package: remove no-op deprecated 'pie' hardeningDisable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PIE was enabled by default in GCC Nixpkgs 25.11¹, and the hardening flag was subsequently removed² and has no effect. This commit thus fixes a warning about it. [1]: https://github.com/NixOS/nixpkgs/pull/439314 [2]: https://github.com/NixOS/nixpkgs/pull/442510 Change-Id: I27850f947b1888c01045af9bbd5e737f6a6a6964 --- package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.nix b/package.nix index fa3dae05a..f019775d1 100644 --- a/package.nix +++ b/package.nix @@ -643,7 +643,7 @@ stdenv.mkDerivation (finalAttrs: { strictDeps = true; # strictoverflow is disabled because we trap on signed overflow instead - hardeningDisable = [ "strictoverflow" ] ++ lib.optional hostPlatform.isStatic "pie"; + hardeningDisable = [ "strictoverflow" ]; meta = { mainProgram = "nix";