Skip to content
Discussion options

You must be logged in to vote

ah its not being passed to it at all

It is only wrapping ${passthru "out"}

Something would need to be added to say if you want the thing in all the outputs, or specific outputs, or whatever, because right now it builds the wrapper script to "out"

In the meantime, the workaround should be something like:

  config.drv.buildPhase = ''
    runHook preBuild
    rm $bin/bin/aria2
    cp $out/bin/aria2 $bin/bin
    runHook postBuild
  '';

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@rachitvrma
Comment options

@BirdeeHub
Comment options

Answer selected by rachitvrma
@rachitvrma
Comment options

@BirdeeHub
Comment options

@rachitvrma
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants