Bug 253322 - sysutils/nix: fix “Operation not permitted” error
Summary: sysutils/nix: fix “Operation not permitted” error
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Mateusz Piotrowski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-07 16:20 UTC by hi@alyssa.is
Modified: 2021-02-08 17:54 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (0mp)


Attachments
Patch to fix the issue. (1.07 KB, patch)
2021-02-07 16:20 UTC, hi@alyssa.is
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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