* Fixed sourceRoot as it's not possible to write in a different
store-path (`${src}` in this case).
* Patched shebangs to not use `/bin/bash`.
* Added `docutils` to nativeBuildInputs to fix build of the man-pages
See also https://hydra.nixos.org/build/110901127
Using a custom path in the Nix store meant that users of the module
couldn't add their own config files, which is a desirable feature. I
don't think avoiding /etc buys us anything.
Previously:
** (dino:7442): CRITICAL **: 00:35:22.373: file /build/source/main/src/ui/unified_window.vala: line 86: uncaught error: Unrecognized image file format (gdk-pixbuf-error-quark, 3)
(dino:7442): Gtk-WARNING **: 00:35:22.601: Found an icon but could not load it. Most likely gdk-pixbuf does not provide SVG support.
The system libsignal-protocol-c is preferred now, so fetching
submodules is no longer required.
The other libraries added are ones that the build complained about. I
suspect they are optional dependencies. Adding them makes the build
quieter, and has basically no impact on runtime closure size, so no
harm in making them available to keep the build system happy.
This module allows root autoLogin, so we would break that for users, but
they shouldn't be using it anyways. This gives the impression like auto
is some special display manager, when it's just lightdm and special pam
rules to allow root autoLogin. It was created for NixOS's testing
so I believe this is where it belongs.
In #77985 it was decided that gcc49 and gcc5 should be deprecated,
however we decided to keep gcc49[1].
I removed the commit which dropped gcc49, but apparently I staged the
gcc49Stdenv removal in a different commit. Readding this as we decided to
keep gcc49 for now.
[1] https://github.com/NixOS/nixpkgs/pull/77985#issuecomment-577411659
Current version is broken, at least for use with Okta and AWS. New
version fixes this problem.
Packaging has changed a bit too, deps.nix was removed, and the top-level
`buildGoModule` is used insead, since the upstream project now exposes a
go.mod file.