debug-info: use pkgs.lib.overrideDerivation (fixed)

See 87793207e8.
This commit is contained in:
Franz Pletz 2016-10-08 15:53:37 +02:00
parent 87793207e8
commit 07289a3b71
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

@ -20,7 +20,7 @@ with lib;
<!-- FIXME: ugly, see #10721 -->
<programlisting>
nixpkgs.config.packageOverrides = pkgs: {
hello = pkgs.stdenv.lib.overrideDerivation pkgs.hello (attrs: {
hello = pkgs.lib.overrideDerivation pkgs.hello (attrs: {
outputs = attrs.outputs or ["out"] ++ ["debug"];
buildInputs = attrs.buildInputs ++ [&lt;nixpkgs/pkgs/build-support/setup-hooks/separate-debug-info.sh>];
});