Packaging/Binaries: Difference between revisions

imported>Delan
use dpkg-deb -x rather than ar p | tar xJ; use dontConfigure + dontBuild + licenses.unfree; don’t use ${name} in fetchurl because most Debian packages are name_version_platform.deb
imported>Delan
autoPatchelfHook: add link to another autoPatchelfHook example
Line 205: Line 205:
== autoPatchelfHook ==
== autoPatchelfHook ==


<code>autoPatchelfHook</code> can make the manual written patchelf invocations unnecessary. See this [https://github.com/NixOS/nixpkgs/commit/ea5787ad5291ee1c131326cb9c9fec03d359edff commit] for an example.
<code>autoPatchelfHook</code> can make the manual written patchelf invocations unnecessary. See [https://github.com/NixOS/nixpkgs/commit/ea5787ad5291ee1c131326cb9c9fec03d359edff this commit], or the example in method 5 of [https://unix.stackexchange.com/a/522823 this answer], for more details.


[[Category:Tutorial]]
[[Category:Tutorial]]
[[Category:nixpkgs]]
[[Category:nixpkgs]]