Code Monkey home page Code Monkey logo

Comments (8)

Artturin avatar Artturin commented on June 8, 2024

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.

Artturin avatar Artturin commented on June 8, 2024

Cc @Mic92

from comma.

Mic92 avatar Mic92 commented on June 8, 2024

Does the error goes away if you set XDG_CACHE_HOME to some writable directory?

from comma.

Mic92 avatar Mic92 commented on June 8, 2024

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.

Mic92 avatar Mic92 commented on June 8, 2024

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.

Artturin avatar Artturin commented on June 8, 2024

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.

Mic92 avatar Mic92 commented on June 8, 2024

This is the nix-index version: https://github.com/nix-community/nix-index-database/blob/9d2bcc47110b3b6217dfebd6761ba20bc78aedf2/comma-wrapper.nix#L25

from comma.

Mic92 avatar Mic92 commented on June 8, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.