Replies: 1 comment 7 replies
-
It will largely depend on what that build script is doing and whether you can turn off the fetch part (assuming you can satisfy it's requirements by making the files available with a If the build script unconditionally tries to touch the network, you'll need to either update it upstream, or have the derivation apply a patch before continuing with the build. Hope this helps! |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I'm packaging a crate that is available on crates.io but not in nixpkgs using crane. I'm using crane's
buildPackage
and nixpkgsfetchCrate
to fetch the sources. One of the dependencies of the package I'm trying to package downloads a bunch of files in itsbuild.rs
. I was able to figure out what these files are and now I would like to place them where they belong. Is there a way to override the dependency of the package somehow? Ideally I would add apostUnpack
hook.The dependency that fetches files from the internet is part of the workspace of the package I'm trying to build.
Thanks for your help in advance
Beta Was this translation helpful? Give feedback.
All reactions