Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
Part of: https://github.com/NixOS/nixpkgs/issues/108938
meta = with stdenv.lib;
is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.
This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.
The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
|
|
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>
|
|
And fix the tests.
Signed-off-by: Pamplemousse <xav.maso@gmail.com>
|
|
|
|
|
|
|
|
|