Clean up build so it tracks latest python3Packages,
instead of being pinned to python37Packages.
Nrfutil builds and works fine with python38.
Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
gopass maintains a ~/.cache/gopass/gpg-binary.loc file
which stores an absolute path to the gpg executable,
overriding (and ignoring) the environment $PATH.
This creates a situation where gopass will work for a period of time
after install, but after gpg is upgraded and a 'nix-store --gc' is
performed, the cached gpg path will throw an error.
A gopass maintainer has declared this a wont-fix in
https://github.com/gopasspw/gopass/issues/1662
As a workaround, add a --run clause in the wrapper script
that removes this cache file.
Once (if) upstream fixes this issue, this cruft can be removed.
Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
Dynamic library name on Darwin contains only 'maj.min' eg "9.53";
the build however used $version to set rpath;
this broke on 2029ca37 when $version went from "9.52" to "9.53.3".
Add a call to 'gs' in installCheckPhase,
to break the build if dylib issues arise in the future.
Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
af27072 broke the build on Darwin.
There does not seem to be any way to sanely enable tests on Darwin.
Tests initially fail because of missing 'greadelf'
expected by test/run_readelf_tests.py.
This is fixed by:
- adding 'binutils-unwrapped' to checkInputs
- hardlinking 'readelf' to 'greadelf' in a temp bin dir
- exporting temp bin dir to PATH
This leads to further test failures because of 'readelf' version mismatch
causing output inconsistencies.
See test/run_readelf_tests.py:31 for further details.
Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
All package tests rely on networking which breaks sandboxed builds.
Fall back to pythonImportsCheck instead.
Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
Remove udev dependency, propagate it from pc-ble-driver.
On Darwin, IOKit is propagated instead.
Depends on d6b3707c86
Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
1.16 will now build on Darwin, properly mark it as such.
Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
1. Remove freetype dependency:
- was not being used by build
- trying to enable freetype gives nontrivial error
'gdoTextWidth: Problem doing text layout (GDFONTPATH=)'
2. Correctly link manpages by specifying 'outputs'.
3. Separate nativeBuildInputs from buildInputs
Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
ycmd gives 'no completer support' because of missing 'gopls'.
Add this as a conditional dependency.
Refactor the 'mkdir -p' step to be conditional per-dependency,
and placed just before the link step.
This is mostly for legibility but also pedantic correctness:
do not create a directory unless it will be used.
Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
Copy _all_ of 'third_party'.
Cherry-picking the contents of this dir is a fragile approach as
they change in later commits (breaking this build).
This approach continues to work on the current build,
and will not break with later versions of the project.
Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
package fails to build with 'ld: framework not found Security'
Solve by adding darwin.apple_sdk.frameworks.Security on Darwin.
Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
* racerd: fix broken build on Darwin
Build on Darwin failing with 'ld: framework not found Security'
Add buildInput darwin.apple_sdk.frameworks.Security
when building on Darwin.
Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>