diff --git a/srcpkgs/nix/files/nix-daemon/run b/srcpkgs/nix/files/nix-daemon/run index 052cf9d45a8..1a57c15efdc 100644 --- a/srcpkgs/nix/files/nix-daemon/run +++ b/srcpkgs/nix/files/nix-daemon/run @@ -1,3 +1,3 @@ #!/bin/sh exec 2>&1 -exec nix-daemon +exec prlimit --nofile=1048576 nix-daemon diff --git a/srcpkgs/nix/template b/srcpkgs/nix/template index ee2f9f14835..20eb0d85fda 100644 --- a/srcpkgs/nix/template +++ b/srcpkgs/nix/template @@ -1,7 +1,7 @@ # Template file for 'nix' pkgname=nix version=2.11.0 -revision=5 +revision=6 build_style=gnu-configure build_helper=qemu # Use /nix/var as suggested by the official Manual.