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:
- Add a
propagatedSandboxProfile to a package for something it needs (e.g., qt5.qtbase).
- Use that package as a
buildInput or nativeBuildInput to another package (e.g., qtpass).
- 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`
Describe the bug
While working on #234122, I attempted to use
propagatedSandboxProfilein 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:
propagatedSandboxProfileto a package for something it needs (e.g., qt5.qtbase).buildInputornativeBuildInputto another package (e.g., qtpass).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
trueorrelaxed.Notify maintainers
Metadata