Packaging/Quirks and Caveats: Difference between revisions

imported>Makefu
initial batch of nixos-users
 
imported>Mic92
No edit summary
Line 39: Line 39:




-----
=== GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with ===
 
<code>GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with</code>


Fixed by adding <code>wrapGAppsHook</code> to buildInputs:
Fixed by adding <code>wrapGAppsHook</code> to buildInputs:


<pre> buildInputs = [ ...  wrapGAppsHook ];</pre>
<syntaxHighlight lang="nix">
Sample PR in nixpkgs: * [https://github.com/NixOS/nixpkgs/pull/24617/files networkmanagerapplet]
buildInputs = [ ...  wrapGAppsHook ];
 
</syntaxHighlight>
Sample PR in nixpkgs:  
* [https://github.com/NixOS/nixpkgs/pull/24617/files networkmanagerapplet]


-----


For packaged python libs: <code>ImportError: libstdc++.so.6: cannot open shared object file: No such file</code>
For packaged python libs: <code>ImportError: libstdc++.so.6: cannot open shared object file: No such file</code>


Solution: According to the IRC, add <code>${stdenv.cc.cc.lib}/lib/libstdc++.so.6</code> to the search path.
Solution: According to the IRC, add <code>${stdenv.cc.cc.lib}/lib/libstdc++.so.6</code> to the search path.