about summary refs log tree commit diff
path: root/pkgs/development/compilers/terra
diff options
context:
space:
mode:
authorJoachim Fasting <joachifm@fastmail.fm>2016-06-23 01:00:23 +0200
committerJoachim Fasting <joachifm@fastmail.fm>2016-06-23 01:31:13 +0200
commit9983937d1a14ecceb03ae4021583b5a7503401ba (patch)
tree98c9c99e7269475d2afc20bf2f1e6b9f0f0d6e42 /pkgs/development/compilers/terra
parent9d052a2c39cbacb18226e0728dad73a52cd8e904 (diff)
terra: apply PaX markings
For grsecurity support
Diffstat (limited to 'pkgs/development/compilers/terra')
-rw-r--r--pkgs/development/compilers/terra/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/compilers/terra/default.nix b/pkgs/development/compilers/terra/default.nix
index 4bee8ee4f357b..5af7bf4642622 100644
--- a/pkgs/development/compilers/terra/default.nix
+++ b/pkgs/development/compilers/terra/default.nix
@@ -46,6 +46,10 @@ stdenv.mkDerivation rec {
   ''
   ;
 
+  postFixup = ''
+    paxmark m $bin/bin/terra
+  '';
+
   buildInputs = with llvmPackages; [ which lua llvm clang-unwrapped ncurses ];
 
   meta = with stdenv.lib; {