Comments (8)
comma doesn't create any directories.
The more appropriate repo to report this in should be nix-index
but only if you've tested the newest version of nix-index, which you can do by using the flake in https://github.com/nix-community/nix-index-database which is where comma-with-db comes from.
from comma.
Cc @Mic92
from comma.
Does the error goes away if you set XDG_CACHE_HOME to some writable directory?
from comma.
Hang on. This issue should get resolved when upgrading to nix-index 0.1.6: https://github.com/nix-community/nix-index-database/blob/9d2bcc47110b3b6217dfebd6761ba20bc78aedf2/nix-index-wrapper.nix#L24
from comma.
Stable is on 0.1.5, so you would need to get it from unstable, backport it yourself or upgrade to nixos unstable.
from comma.
Then https://github.com/nix-community/nix-index-database/blob/9d2bcc47110b3b6217dfebd6761ba20bc78aedf2/comma-wrapper.nix#L28 is wrong? And should be checking nix-index version
from comma.
This is the nix-index version: https://github.com/nix-community/nix-index-database/blob/9d2bcc47110b3b6217dfebd6761ba20bc78aedf2/comma-wrapper.nix#L25
from comma.
This is what the wrapper looks like:
#! /nix/store/vqvj60h076bhqj6977caz0pfxs6543nb-bash-5.2-p15/bin/bash -e
export NIX_INDEX_DATABASE='/nix/store/mdpqxk0k4mgisd4p4r3haha4szk347kh-nix-index-with-db-0.1.7/share/cache/nix-index'
exec "/nix/store/g5w2prb7nml7kwvnn6572z3h8hq39cs8-nix-index-0.1.7/bin/nix-locate" "$@"
from comma.
Related Issues (20)
- Print package name of executable HOT 1
- Nix-index database does not exist, try updating with `--update`. HOT 1
- `error: value is null while a set was expected` on update HOT 2
- "no match" on all invocations HOT 3
- Prebuilt index not found HOT 2
- Comma tries to use nix-channels with flakes HOT 7
- "attribute 'x11' missing" HOT 3
- Problem getting comma working with home-manager HOT 7
- Provide an environment variable to specify the nix-index database location HOT 3
- Add install guide for nixos configuration with flakes HOT 2
- Shell completion HOT 2
- Add --shell option HOT 1
- [feature request] disable picker by using exact match HOT 5
- [Bug] `, code` says "No executable `code` found in nix-index database." HOT 1
- Feature request: new command `,man` for reading manual pages HOT 1
- Future plans and ideas
- Cannot see which packages contain matching executable without running anything
- Is there any way to make this faster; there is a noticable startup delay HOT 4
- Cache package per executable
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 comma.