Comments (4)
I can't reproduce this in a nix develop
shell or with nix-shell
. If I patch the source to print the nix --version
output and run that through nix build
I get v = ""
.
from rnix-lsp.
Here's the whole nixver
result struct, which is quite interesting:
rnix-lsp> [src/lookup.rs:175] &nixver = Ok(
rnix-lsp> Output {
rnix-lsp> status: ExitStatus(
rnix-lsp> unix_wait_status(
rnix-lsp> 6,
rnix-lsp> ),
rnix-lsp> ),
rnix-lsp> stdout: "",
rnix-lsp> stderr: "libc++abi: terminating with uncaught exception of type nix::SysError: \u{1b}[31;1merror:\u{1b}[0m getting status of \u{1b}[35;1m/System/Library/LaunchDaemons/com.apple.oahd.plist\u{1b}[0m: \u{1b}[35;1mOperation not permitted\u{1b}[0m\n",
rnix-lsp> },
rnix-lsp> )
from rnix-lsp.
If this is a sandboxing issue, that explains why it doesn't reproduce in nix develop
or nix-shell
. What I don't get is why this still occurs with nix --no-sandbox build
. Or why nix
is attempting to get the file metadata of /System/Library/LaunchDaemons/com.apple.oahd.plist
.
from rnix-lsp.
I filed NixOS/nix#5884 about nix --version
failing in the macOS sandbox.
from rnix-lsp.
Related Issues (20)
- rnix-lsp not keeping in sync with nixpkgs-fmt
- go to definition for attributes `inherit`-ed in `let ... in`
- autocompletion is not working in vscode: no suggestions HOT 1
- New maintainer? HOT 5
- needs a new release so we can remove the nix pin in nixpkgs
- Detection of duplicate attrset names doesn't work for strings
- Archive the project? HOT 3
- aarch64-darwin support HOT 2
- Flake currently broken? HOT 8
- flake.nix should provide an overlay
- Install on Mac OS fails with linker errors HOT 2
- Support arbitrary formatter? HOT 2
- Don't change file if formatting doesn't change HOT 8
- rnix-lsp is not working on m1 mac in macos: HOT 1
- Error messages still not working in v0.2.4 HOT 1
- No autocompletion with nested attribute declaration
- Unable to build with current nixos-unstable (nixpkgs-unstable probably the same problem) due to nix_2_4 being removed. HOT 1
- Document Integration For Doom Emacs HOT 1
- Unicode handling is wrong
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rnix-lsp.