Packaging/Quirks and Caveats: Difference between revisions
imported>Mic92 expand scope of /etc/protocols |
imported>Makefu No edit summary |
||
Line 14: | Line 14: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Examples in nixpkgs: * [https://github.com/NixOS/nixpkgs/blob/f4c253ff2f68fbe3e302f944e8347233d9dc8c9d/pkgs/tools/networking/samplicator/default.nix samplicator] | Examples in nixpkgs: * [https://github.com/NixOS/nixpkgs/blob/f4c253ff2f68fbe3e302f944e8347233d9dc8c9d/pkgs/tools/networking/samplicator/default.nix samplicator] | ||
== Configure Scripts that are using pkgconfig == | |||
Some configure scripts are using <code>pkgconfig</code> to determine the location of libraries and headers. Nixpkgs supports this by adding <code>pkgconfig</code> to <code>nativeBuildInputs</code> | |||
<syntaxhighlight lang="nix"> | |||
nativeBuildInputs = [ ... pkgconfig ]; | |||
</syntaxhighlight> | |||
Examples in nixpkgs: * [https://github.com/NixOS/nixpkgs/blob/96d41e393da3ca27fbcc7c82b7221a5c923460c0/pkgs/development/libraries/libmms/default.nix#L13 libmms] | |||
== Package simple python scripts == | == Package simple python scripts == |