Packaging/Quirks and Caveats: Difference between revisions
imported>Makefu m formatting |
imported>Lschuermann m pkg-config: Use the actual package name, not the alias "pkgconfig" |
||
Line 16: | Line 16: | ||
* [https://github.com/NixOS/nixpkgs/blob/f4c253ff2f68fbe3e302f944e8347233d9dc8c9d/pkgs/tools/networking/samplicator/default.nix samplicator] | * [https://github.com/NixOS/nixpkgs/blob/f4c253ff2f68fbe3e302f944e8347233d9dc8c9d/pkgs/tools/networking/samplicator/default.nix samplicator] | ||
== Configure Scripts that are using | == Configure Scripts that are using pkg-config == | ||
Some configure scripts are using <code> | Some configure scripts are using <code>pkg-config</code> to determine the location of libraries and headers. Nixpkgs supports this by adding <code>pkg-config</code> to <code>nativeBuildInputs</code> | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
nativeBuildInputs = [ ... | nativeBuildInputs = [ ... pkg-config ]; | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Examples in nixpkgs: | Examples in nixpkgs: |