make-sandboxed: also sandbox the .lib
output of a package
This commit is contained in:
parent
546482dc80
commit
56aca78d84
|
@ -48,6 +48,9 @@ let
|
|||
env = (unwrapped.env or {}) // {
|
||||
SANE_SANDBOX_DISABLE = 1;
|
||||
};
|
||||
# TODO: handle multi-output packages; until then, squash lib into the main output, particularly for `libexec`.
|
||||
# (this line here only affects `inplace` style wrapping)
|
||||
outputs = lib.remove "lib" (unwrapped.outputs or [ "out" ]);
|
||||
nativeBuildInputs = (unwrapped.nativeBuildInputs or []) ++ [
|
||||
fakeSaneSandboxed
|
||||
];
|
||||
|
|
Loading…
Reference in New Issue
Block a user