diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2018-08-23 16:22:05 -0400 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2018-08-23 16:22:05 -0400 |
| commit | 72951dc5c7ef2f026d62bbcbf5ce4f0cfc760ffc (patch) | |
| tree | 62bd40a18e0a479a5ef271e9e5746b126ac1b078 /docs | |
| parent | ebed7129ba102453f04f99e2f78278ff8aeef6f9 (diff) | |
add NixOS troubleshooting documentation
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/guide/troubleshooting.md | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/docs/guide/troubleshooting.md b/docs/guide/troubleshooting.md index 5e310dfb..0aafd4a7 100644 --- a/docs/guide/troubleshooting.md +++ b/docs/guide/troubleshooting.md @@ -94,6 +94,32 @@ ln -s /usr/lib/x86_64-linux-gnu/libssl.so.1.0.2 /usr/lib/x86_64-linux-gnu/libssl One Gentoo user [reported][issue672] a failed SSL certificate when trying to update. The solution was to copy over `/etc/ssl/certs/ca-certificates.crt` from another Linux distribution. +### NixOS + +Here's a customer-provided nix derivation file for the Binary Ninja demo. Adapt as necessary for other versions, or hop onto our slack (specifically the #unsupported-distros channel) to find out more: + +``` +{ stdenv, autoPatchelfHook, makeWrapper, fetchurl, unzip, libGL, glib, fontconfig, xlibs, dbus, xkeyboard_config }: +stdenv.mkDerivation rec { + name = "binary-ninja-demo"; + buildInputs = [ autoPatchelfHook makeWrapper unzip libGL stdenv.cc.cc.lib glib fontconfig xlibs.libXi xlibs.libXrender dbus ]; + src = fetchurl { + url = "https://cdn.binary.ninja/installers/BinaryNinja-demo.zip"; + sha256 = "1yq2kgrhrwdi7f66jm1w5sc6r49hdhqnff9b0ysr5k65w9kxhl1k"; + }; + + buildPhase = ":"; + installPhase = '' + mkdir -p $out/bin + mkdir -p $out/opt + cp -r * $out/opt + chmod +x $out/opt/binaryninja + makeWrapper $out/opt/binaryninja \ + $out/bin/binaryninja \ + --prefix "QT_XKB_CONFIG_ROOT" ":" "${xkeyboard_config}/share/X11/xkb" + ''; +}``` + ## API - If the GUI launches but the license file is not valid when launched from the command-line, check that you're using the right version of Python. Only a 64-bit Python 2.7 is supported at this time. Additionally, the [personal][purchase] edition does not support headless operation. |
