From 025cedc6067e60533cea7afb467042f9ac2e65a8 Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Sun, 3 Apr 2016 12:25:05 +0000 Subject: [PATCH] singular.i686-linux: turn off stackprotector hardening --- pkgs/applications/science/math/singular/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/applications/science/math/singular/default.nix b/pkgs/applications/science/math/singular/default.nix index 8bae1d6206d0..a0fdf7c82395 100644 --- a/pkgs/applications/science/math/singular/default.nix +++ b/pkgs/applications/science/math/singular/default.nix @@ -16,6 +16,8 @@ stdenv.mkDerivation rec { find . -exec sed -e 's@/bin/uname@${coreutils}&@g' -i '{}' ';' ''; + hardeningDisable = stdenv.lib.optional stdenv.isi686 "stackprotector"; + postInstall = '' rm -rf "$out/LIB" cp -r Singular/LIB "$out"