enableDebugging: fix usage example

This commit is contained in:
Jörg Thalheim 2018-08-28 09:27:58 +01:00
parent cf7551b7f6
commit 3f8bbbdc5c

View File

@ -385,7 +385,7 @@ with pkgs;
{ deps = [ pkgs.lcov pkgs.enableGCOVInstrumentation ]; }
../build-support/setup-hooks/make-coverage-analysis-report.sh;
# intended to be used like nix-build -E 'with <nixpkgs> {}; enableDebugging fooPackage'
# intended to be used like nix-build -E 'with import <nixpkgs> {}; enableDebugging fooPackage'
enableDebugging = pkg: pkg.override { stdenv = stdenvAdapters.keepDebugInfo pkg.stdenv; };
findXMLCatalogs = makeSetupHook { } ../build-support/setup-hooks/find-xml-catalogs.sh;