mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
add more convenient adapter for making debug builds
This commit is contained in:
parent
2eed178fe7
commit
e8a38b7822
@ -423,6 +423,8 @@ let
|
|||||||
{ deps = [ pkgs.lcov pkgs.enableGCOVInstrumentation ]; }
|
{ deps = [ pkgs.lcov pkgs.enableGCOVInstrumentation ]; }
|
||||||
../build-support/setup-hooks/make-coverage-analysis-report.sh;
|
../build-support/setup-hooks/make-coverage-analysis-report.sh;
|
||||||
|
|
||||||
|
# intended to be used like nix-build -E 'with <nixpkgs> {}; enableDebugging fooPackage'
|
||||||
|
enableDebugging = pkg : pkg.override { stdenv = stdenvAdapters.keepDebugInfo pkg.stdenv; };
|
||||||
|
|
||||||
### TOOLS
|
### TOOLS
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user