Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with build #52

Closed
samrose opened this issue May 8, 2023 · 10 comments
Closed

Issues with build #52

samrose opened this issue May 8, 2023 · 10 comments

Comments

@samrose
Copy link
Collaborator

samrose commented May 8, 2023

I have this project

https://github.com/fractal-dynamics/powersim

When I try to build it with julia2nix I am seeing this error

https://gist.github.com/samrose/d8d57b2daa63bc2f5e8c96a53b31f1f8

Is this a case where a package someone made is trying to reach out and download during the sandbox phase of nix build?

@GTrunSec
Copy link
Collaborator

GTrunSec commented May 8, 2023

You can use the extraDepot to download the artifacts manually.
https://github.com/JuliaCN/Julia2Nix.jl/blob/main/nix/julia2nix/entrypoints/default.nix#L36
Since I only have a little time to maintain this repo, the rewrite plan has been shelved for a long time.

@samrose
Copy link
Collaborator Author

samrose commented May 8, 2023

thanks for the pointers. I think it may be that julia2nix.jl very usable as it is, and in my case it's just becoming familiar with using it.

@samrose
Copy link
Collaborator Author

samrose commented May 8, 2023

@GTrunSec are there ways us users can help you maintain the repo?

@GTrunSec
Copy link
Collaborator

GTrunSec commented Jun 2, 2023

@samrose We should discuss how to refactor the julia2nix and what kind of roadmap we have.
For current maintenance, we are just required to replace nix-prefect with nix-prefect-git etc. as berberman/nvfetcher@d3226cb did.

@samrose
Copy link
Collaborator Author

samrose commented Jun 2, 2023

Hi I’ll catch up with you next week on this. Thank you for looping me in. I’ll check out the commit above

@GTrunSec
Copy link
Collaborator

GTrunSec commented Jun 2, 2023

@samrose Great, with your help, I can focus on how to build the DevOps ecosystem for data-science. I expect to have powerful dataOps and research lab support soon.

@samrose
Copy link
Collaborator Author

samrose commented Jun 29, 2023

@GTrunSec I'll start looking into this as time permits now, sorry for the radio silence on my part

@samrose
Copy link
Collaborator Author

samrose commented Jun 29, 2023

@GTrunSec I am not actually seeing nix-prefect anywhere in this repo?

@samrose
Copy link
Collaborator Author

samrose commented Aug 3, 2023

@GTrunSec just checking in with you again on the above. Seeing if there is a way I can contribute. Thanks!

@GTrunSec
Copy link
Collaborator

GTrunSec commented Aug 4, 2023

@samrose, sorry for the late reply; I was busy and still waiting for NixOS/nixpkgs#225513 to be done and merged.
Let me write a roadmap tomorrow, and we should base it on NixOS/nixpkgs#225513 to refactor our code.
We already have https://github.com/codedownio/General, so there will be less work to build a project even without generating that julia2nix.toml.(if LFD is allowed)
Also, we can drop the nix-prefetch off totally, then simply transfer the git_tree-hash to nix-hash enough(only for the custom_fetcher_link and private_repo). #42

@samrose samrose closed this as completed Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants