Packaging/Binaries: Difference between revisions
imported>Makefu No edit summary |
imported>Lexleogryfon No edit summary |
||
Line 109: | Line 109: | ||
# libsdtc++.so.6 is `special`, it resides in stdenv.cc.cc.lib (see other packages) | # libsdtc++.so.6 is `special`, it resides in stdenv.cc.cc.lib (see other packages) | ||
</syntaxHighlight> | </syntaxHighlight> | ||
Unfortunately there is no "right" way to choose which package to actually take, you can check out other derivations by grepping in nixpkgs. | Unfortunately there is no "right" way to choose which package to actually take, you can check out other derivations by grepping in nixpkgs. <br> | ||
in case there are too many .so libraries, you may save time by automated approach, executing [https://github.com/lexleogryfon/de-generate nix-de-generate] for target application, which will produce list of nix packages (in nix expression) to satisfy dependencies of target application. | |||
The next step is to create a library path for all these packages. We use nix-repl to resolve the paths: | The next step is to create a library path for all these packages. We use nix-repl to resolve the paths: |