From f5f1e8cb08e48b46e091a2ddf510e3dd1418402d Mon Sep 17 00:00:00 2001 From: Gabriel Hondet Date: Thu, 16 Feb 2023 16:57:48 +0100 Subject: [PATCH] nix: increase open files limit --- srcpkgs/nix/files/nix-daemon/run | 2 +- srcpkgs/nix/template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/nix/files/nix-daemon/run b/srcpkgs/nix/files/nix-daemon/run index 052cf9d45a8d..1a57c15efdc2 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 1c9bd931df65..6c842fa336c3 100644 --- a/srcpkgs/nix/template +++ b/srcpkgs/nix/template @@ -1,7 +1,7 @@ # Template file for 'nix' pkgname=nix version=2.11.0 -revision=2 +revision=3 build_style=gnu-configure build_helper=qemu # Use /nix/var as suggested by the official Manual.