Packaging/Quirks and Caveats: Difference between revisions

imported>Makefu
m Makefu moved page Packaging Software to Packaging/Quirks and Caveats: move to new Packaging namespace
imported>Makefu
add GDK
Line 62: Line 62:


<syntaxHighlight lang="nix">
<syntaxHighlight lang="nix">
buildInputs = [ ...  wrapGAppsHook ];
nativeBuildInputs = [ ...  wrapGAppsHook ];
</syntaxHighlight>
</syntaxHighlight>
Sample PR in nixpkgs:  
Sample PR in nixpkgs:  
* [https://github.com/NixOS/nixpkgs/pull/24617/files networkmanagerapplet]
* [https://github.com/NixOS/nixpkgs/pull/24617/files networkmanagerapplet]
=== Namespace Gdk not available ===
You will need <code>/nix/store/*-gtk+3-*/lib/girepository-1.0</code> in <code>GI_TYPELIB_PATH</code>. Same solution as above, solved by adding <code>nativeBuildInputs = [ ...  wrapGAppsHook ];</code> to the derivation.


=== ImportError: libstdc++.so.6: cannot open shared object file: No such file ===
=== ImportError: libstdc++.so.6: cannot open shared object file: No such file ===