Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

propagatedSandboxProfile does not appear to propagate #237458

Closed
reckenrode opened this issue Jun 13, 2023 · 0 comments · Fixed by #291456
Closed

propagatedSandboxProfile does not appear to propagate #237458

reckenrode opened this issue Jun 13, 2023 · 0 comments · Fixed by #291456
Labels
0.kind: bug Something is broken

Comments

@reckenrode
Copy link
Contributor

Describe the bug

While working on #234122, I attempted to use propagatedSandboxProfile in the qt5.qtbase derivation. Unfortunately, it did not appear to propagate to qtpass or other Qt-using packages that would require the profile. They still experienced the error until I manually added sandbox profiles to the other packages.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Add a propagatedSandboxProfile to a package for something it needs (e.g., qt5.qtbase).
  2. Use that package as a buildInput or nativeBuildInput to another package (e.g., qtpass).
  3. Build the other package.

Expected behavior

The build should succeed (allowing whatever is permitted by the profile), but it fails (due to the lack of the sandbox profile).

Screenshots

n/a

Additional context

This requires the sandbox on Darwin to be set to true or relaxed.

Notify maintainers

Metadata

$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"aarch64-darwin"`
 - host os: `Darwin 22.5.0, macOS 13.4`
 - multi-user?: `yes`
 - sandbox: `relaxed`
 - version: `nix-env (Nix) 2.11.1`
 - channels(root): `"nixpkgs"`
 - nixpkgs: `/etc/nix/inputs/nixpkgs`
@reckenrode reckenrode added the 0.kind: bug Something is broken label Jun 13, 2023
corngood added a commit to corngood/nixpkgs that referenced this issue Mar 10, 2024
…Deps

Fixes: 7f3ca3e (stdenv: Fix handling of dependencies and hooks)
Fixes: NixOS#237458
@vcunat vcunat closed this as completed in c642665 May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant