Packaging/Binaries: Difference between revisions
imported>Milahu + link to steam-run |
imported>Milahu + architecture differs from target |
||
Line 51: | Line 51: | ||
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. | 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. | ||
=== architecture differs from target === | |||
autoPatchelfHook error: | |||
<pre> | |||
skipping <file> because its architecture (i386) differs from target (i386:x86-64) | |||
</pre> | |||
fix: | |||
<pre> | |||
meta = { | |||
# target architecture | |||
- platforms = [ "x86_64-linux" "i686-linux" ]; # i386:x86-64 | |||
+ platforms = [ "i686-linux" ]; # i386 | |||
}; | |||
</pre> | |||
== Manual Method == | == Manual Method == |