summary refs log tree commit diff
path: root/pkgs/servers/openafs/1.8/module.nix
diff options
context:
space:
mode:
authorJoachim Fasting <joachifm@fastmail.fm>2019-01-07 19:16:54 +0100
committerJoachim Fasting <joachifm@fastmail.fm>2019-01-07 19:50:06 +0100
commita4f51746f826349c631910b1a67d7556a9a0bf30 (patch)
treefc214efd55fe961882414fba0503173d89751fd9 /pkgs/servers/openafs/1.8/module.nix
parentd2e74263ac4dd7c222c59620eecdeb0e2a390cb1 (diff)
downloadnixpkgs-a4f51746f826349c631910b1a67d7556a9a0bf30.tar
nixpkgs-a4f51746f826349c631910b1a67d7556a9a0bf30.tar.gz
nixpkgs-a4f51746f826349c631910b1a67d7556a9a0bf30.tar.bz2
nixpkgs-a4f51746f826349c631910b1a67d7556a9a0bf30.tar.lz
nixpkgs-a4f51746f826349c631910b1a67d7556a9a0bf30.tar.xz
nixpkgs-a4f51746f826349c631910b1a67d7556a9a0bf30.tar.zst
nixpkgs-a4f51746f826349c631910b1a67d7556a9a0bf30.zip
Revert "openafs: fix build against linux_hardened"
This reverts commit 4bb0a719cf8f6b89ec89cd902a511a7e043d9a0d.

Can be reveted once randstruct actually works
Diffstat (limited to 'pkgs/servers/openafs/1.8/module.nix')
-rw-r--r--pkgs/servers/openafs/1.8/module.nix3
1 files changed, 0 insertions, 3 deletions
diff --git a/pkgs/servers/openafs/1.8/module.nix b/pkgs/servers/openafs/1.8/module.nix
index c60b96f1693..958fcd578c2 100644
--- a/pkgs/servers/openafs/1.8/module.nix
+++ b/pkgs/servers/openafs/1.8/module.nix
@@ -18,9 +18,6 @@ in stdenv.mkDerivation rec {
 
   hardeningDisable = [ "pic" ];
 
-  # The RANDSTRUCT gcc plugin rewrites structs using designated initializers
-  NIX_CFLAGS_COMPILE = [ "-Wno-error=designated-init" ];
-
   configureFlags = [
     "--with-linux-kernel-build=${kernelBuildDir}"
     "--sysconfdir=/etc"