mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
nixpkgs-manual.lib-docs: fix sandboxed build on darwin
The darwin sandbox prevents this nix call from accessing `/nix/ store/.links` resulting in a build failure: ``` > error: getting status of '/nix/store/.links': Operation not permitted ``` Thanks to @emilazy for the workaround! Fixes https://github.com/NixOS/nixpkgs/issues/339808
This commit is contained in:
parent
352eb56574
commit
1218148c55
|
@ -106,6 +106,7 @@ stdenvNoCC.mkDerivation {
|
|||
--arg nixpkgsPath "./." \
|
||||
--argstr revision ${nixpkgs.rev or "master"} \
|
||||
--argstr libsetsJSON ${lib.escapeShellArg (builtins.toJSON libsets)} \
|
||||
--store $(mktemp -d) \
|
||||
> locations.json
|
||||
|
||||
function docgen {
|
||||
|
|
Loading…
Reference in a new issue