Issue description
When I run nix-store --optimise, it fails when it encounters pinentry-mac, and I believe it returns immediately and doesn't optimize the rest of the store.
Steps to reproduce
$ nix-store --optimise
0.00 MiB freed by hard-linking 0 files
$ nix-build -A pkgs.pinentry_mac '<nixpkgs>'
[ . . . ]
/nix/store/diw4mj51kw8njrv36ah7b3bjmkmvamph-pinentry-mac-0.9.4
$ nix-store --optimise
error: cannot link ‘/nix/store/.links/1666wf33g20gqagij48gmh2wk7vxq07kp0a0avqf13hyjfyii7wx’ to ‘/nix/store/diw4mj51kw8njrv36ah7b3bjmkmvamph-pinentry-mac-0.9.4/Applications/pinentry-mac.app/Contents/PkgInfo’: Operation not permitted
Technical details
- System: macOS 10.12.4 Sierra
- Nix version: nix-env (Nix) 1.11.6
- Nixpkgs version: 17.09pre107260.e33848568d
- Sandboxing enabled: no
Issue description
When I run
nix-store --optimise, it fails when it encounters pinentry-mac, and I believe it returns immediately and doesn't optimize the rest of the store.Steps to reproduce
Technical details