Bug 253322

Summary: sysutils/nix: fix “Operation not permitted” error
Product: Ports & Packages Reporter: hi <hi>
Component: Individual Port(s)Assignee: Mateusz Piotrowski <0mp>
Status: Closed FIXED    
Severity: Affects Some People Flags: bugzilla: maintainer-feedback? (0mp)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch to fix the issue. none

Description hi@alyssa.is 2021-02-07 16:20:12 UTC
Created attachment 222241 [details]
Patch to fix the issue.

Patch attached.

Without this fix, Nix would die as soon as it started trying to build something.

Submitted upstream at <https://github.com/NixOS/nix/pull/4530>.
Comment 1 Mateusz Piotrowski freebsd_committer freebsd_triage 2021-02-08 10:40:27 UTC
Thanks for the patch, I'll commit it soon.
Comment 2 commit-hook freebsd_committer freebsd_triage 2021-02-08 10:48:33 UTC
A commit references this bug:

Author: 0mp
Date: Mon Feb  8 10:48:16 UTC 2021
New revision: 564693
URL: https://svnweb.freebsd.org/changeset/ports/564693

Log:
  Fix a runtime issue causing Nix to die when it builds packages

  Related upstream PR:
  https://github.com/NixOS/nix/pull/4530

  PR:		253322
  Submitted by:	hi@alyssa.is
  MFH:		2021Q1

Changes:
  head/sysutils/nix/Makefile
  head/sysutils/nix/distinfo
Comment 3 Mateusz Piotrowski freebsd_committer freebsd_triage 2021-02-08 11:03:21 UTC
Thanks a lot!
Comment 4 commit-hook freebsd_committer freebsd_triage 2021-02-08 17:54:45 UTC
A commit references this bug:

Author: 0mp
Date: Mon Feb  8 17:54:37 UTC 2021
New revision: 564730
URL: https://svnweb.freebsd.org/changeset/ports/564730

Log:
  MFH: r560702 r564693

  Update to 2.3.10

  PR:		251897
  Submitted by:	nc
  Differential Revision:	https://reviews.freebsd.org/D27996

  Fix a runtime issue causing Nix to die when it builds packages

  Related upstream PR:
  https://github.com/NixOS/nix/pull/4530

  PR:		253322
  Submitted by:	hi@alyssa.is

Changes:
_U  branches/2021Q1/
  branches/2021Q1/sysutils/nix/Makefile
  branches/2021Q1/sysutils/nix/distinfo