Coder Social home page Coder Social logo

Nix package not working about superfile HOT 6 CLOSED

yorukot avatar yorukot commented on August 21, 2024
Nix package not working

from superfile.

Comments (6)

h4m6urg1r avatar h4m6urg1r commented on August 21, 2024 2

In that case, the fix is simple. Just enter the development shell (using nix develop) and run gomod2nix inside the src folder. This will fix the issue. I suggest setting up GitHub action for updating the gomod2nix.toml. I can help when I am home. :)

from superfile.

yorukot avatar yorukot commented on August 21, 2024

Sorry but I didn't test this wit nix, the package script was written by a contributor.

If you can help to fix this bug. I would really appreciate it!

from superfile.

ndom91 avatar ndom91 commented on August 21, 2024

Running into this as well. Unfortunately not super familiar with the golang ecosystem, buttt I think it might be due to the fact that the three packages mentioned are missing from the gomod2nix.toml manifest, but they're required in go.mod. Might just need updated: https://github.com/MHNightCat/superfile/blob/main/src/gomod2nix.toml

The three packages are:

  • github.com/shirou/gopsutil/disk
  • github.com/pelletier/go-toml/v2
  • github.com/masatana/go-textdistance

Did you add these recently by any chance? 🤔

from superfile.

yorukot avatar yorukot commented on August 21, 2024

Yes I did add these packages recently

from superfile.

ndom91 avatar ndom91 commented on August 21, 2024

Opened a PR adding the missing deps for now. However, a GHA to automate this would be a great follow-up 😉

EDIT: Found a version of the required job in the direnv repository and created a PR which uses their logic and implementation basically

from superfile.

yorukot avatar yorukot commented on August 21, 2024

OK, thank you for fixed this issue!

from superfile.

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.