[Nix-dev] Extend wrapper created with makeWrapper

José Luis Lafuente jl at lafuente.me
Fri May 5 15:02:38 CEST 2017


Hi,

I want to override an existing package to use it locally. I would like to
just set an environment variable before the program is executed, but the
derivation is using `wrapProgram`, so there is already a wrapper for the
program. Is possible to override the derivation to add another environment
variable to the wrapper? The derivation I want to modify is okular (
https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/kde/okular.nix
)

Thanks in advance,
José Luis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.science.uu.nl/pipermail/nix-dev/attachments/20170505/5294edca/attachment.html>


More information about the nix-dev mailing list