Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: b4d8f8b8e21021eb72bc84476387c13543a983cd
      
https://github.com/NixOS/nixpkgs/commit/b4d8f8b8e21021eb72bc84476387c13543a983cd
  Author: Tuomas Tynkkynen <tuo...@tuxera.com>
  Date:   2016-10-16 (Sun, 16 Oct 2016)

  Changed paths:
    M pkgs/servers/dns/bind/default.nix

  Log Message:
  -----------
  bind: Disable seccomp on non-x86

The list of permitted syscalls in the seccomp sandbox is only defined
for x86. It fails to build otherwise:

````
In file included from 
/tmp/nix-build-bind-9.10.4-P3.drv-0/bind-9.10.4-P3/lib/isc/include/isc/magic.h:23:0,
           from 
/tmp/nix-build-bind-9.10.4-P3.drv-0/bind-9.10.4-P3/lib/isc/include/isc/app.h:89,
           from ./main.c:26:
./main.c: In function 'setup_seccomp':
./main.c:848:17: error: 'scmp_syscalls' undeclared (first use in this function)
  INSIST((sizeof(scmp_syscalls) / sizeof(int)) ==
````


_______________________________________________
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to