Closed johnramsden closed 7 years ago
gobjectIntrospection’s setup hook is what adds the typelibs to the environment variable. The wrapProgram
invocation is copying the value of the variables during build into a wrapper, which passes them to the wrapped executable when it is run. Just calling wrapProgram
and adding the dependencies that provide the typelibs to buildInputs
should be enough.
Issue description
I'm trying to package the application onboard, and I had opened a pull request #24986 that I think I should have opened as an issue first.
I tried getting help on IRC but it didn't really go anywhere so I was hoping I could get some help here.
I'm having trouble setting typelibs.
I tried wrapping the package but it didn't help.
Is there a better way to set the typelibs?
Technical details
System: (NixOS: 17.03.1019.dc7dc77cde (Gorilla)) Nix version: (nix-env (Nix) 1.11.8) Nixpkgs version: ("17.03.1019.dc7dc77cde")