Comments (7)
Yeah we know about it, but the alternative is not desirable
from nixvim.
nixvim/flake-modules/packages.nix
Lines 13 to 14 in 6be28a9
found the culprit
from nixvim.
The wiki documents the schema as
checks."<system>"."<name>" = derivation;
Which is what the code you linked should be doing.
config.packages
is the (per-system) result of calling docs/default.nix
, which is an attr set containing options-json
, man-docs
, & docs
.
Which should result in the flake output:
checks.<system>
- options-json
- man-docs
- docs
from nixvim.
So the packages. Output is wrong too
from nixvim.
This seems strange, because for example it is correct for x86_64-linux
:
nix repl .
nix-repl> :lf .
nix-repl> builtins.typeOf checks.x86_64-linux
"set"
I am not using a darwin machine, so I am not able to show the schema for it. What machine are you using?
from nixvim.
The error I encounter is:
nix flake show
warning: Git tree '/home/traxys/Documents/nixvim' is dirty
git+file:///home/traxys/Documents/nixvim
├───allSystems: unknown
├───checks
│ ├───aarch64-darwin
error:
… while evaluating the attribute 'optionalValue.value'
at /nix/store/pfc56yr7y3wflvbgnrpscf2n1m4j3xd7-source/lib/modules.nix:856:5:
855|
856| optionalValue =
| ^
857| if isDefined then { value = mergedValue; }
… while evaluating a branch condition
at /nix/store/pfc56yr7y3wflvbgnrpscf2n1m4j3xd7-source/lib/modules.nix:857:7:
856| optionalValue =
857| if isDefined then { value = mergedValue; }
| ^
858| else {};
… while evaluating definitions from `/nix/store/br885sqy62q1bblwi2bslcfg2193ly75-source/modules/transposition.nix':
… while evaluating the option `perSystem.aarch64-darwin.checks':
… while evaluating definitions from `/nix/store/2c7rsdzy5dvz0iqps6qdw3ybvbakfk51-source/flake-modules/packages.nix, via option perSystem':
… while evaluating the option `perSystem.aarch64-darwin.packages':
… while evaluating definitions from `/nix/store/2c7rsdzy5dvz0iqps6qdw3ybvbakfk51-source/flake-modules/packages.nix, via option perSystem':
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
error: cannot build '/nix/store/m8xlvjq8j0ggqw885q9rcskxydqmrlir-nixpkgs-nixvim-doc.drv^out' during evaluation because the option 'allow-import-from-derivation' is disabled
Which is a known issue #1154 but there is not much we can do here, we would need something like NixOS/nix#6530
from nixvim.
Lines 7 to 17 in 72ff148
here's the IFD
from nixvim.
Related Issues (20)
- Better `package` option helpers HOT 1
- [BUG] The update CI schedules on forks
- [PLUGIN REQUEST] FeMaco
- [BUG] Alias @astrojs/language-server is still in node-packages.nix HOT 2
- [BUG] flaky codium test in cmp-sources
- [BUG] `disallowedRequisites` is used on a derivation that doesn't support it HOT 2
- [PLUGIN REQUEST] flutter-tools
- [BUG] Error with vscode-langservers-extracted dependent lsp servers HOT 3
- [BUG] Error when lsp html server is enabled HOT 1
- how to lazy: plugins with submodules
- [BUG] enabling some lsp servers fails to build because of `vscode-langservers-extracted` HOT 3
- [BUG] lightline is generating a wrong key name for component_function HOT 2
- [BUG] Conform plugin config using deprecated syntax for stop after first formatter HOT 4
- 'diagnostics' seemingly unavailable under programs.nixvim.* when used with home-manager HOT 2
- [PLUGIN REQUEST] helpview.nvim
- cmp `autoEnableSources` behaviour should be documented more prominently
- [PLUGIN REQUEST] Avante
- [PLUGIN REQUEST] ts-comments.nvim
- [PLUGIN REQUEST] sg.nvim (Cody)
- A flag to enable icon support in telescope
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 nixvim.