diff options
author | Michael Stapelberg <stapelberg@users.noreply.github.com> | 2016-09-12 10:22:28 +0200 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2016-10-08 15:52:35 +0200 |
commit | 87793207e806e837a3ae2958f3e770caec6f2277 (patch) | |
tree | 0f9a2a95fd9468c991ac02e5b0aade7f4d802a08 | |
parent | 034ba88850fb36d93ba42b2b1ddef6f2b16bd86e (diff) | |
download | nixpkgs-87793207e806e837a3ae2958f3e770caec6f2277.tar nixpkgs-87793207e806e837a3ae2958f3e770caec6f2277.tar.gz nixpkgs-87793207e806e837a3ae2958f3e770caec6f2277.tar.bz2 nixpkgs-87793207e806e837a3ae2958f3e770caec6f2277.tar.lz nixpkgs-87793207e806e837a3ae2958f3e770caec6f2277.tar.xz nixpkgs-87793207e806e837a3ae2958f3e770caec6f2277.tar.zst nixpkgs-87793207e806e837a3ae2958f3e770caec6f2277.zip |
debug-info: use pkgs.lib.overrideDerivation
Without this change, I get the error “undefined variable 'overrideDerivation'” Fixes #18529.
-rw-r--r-- | nixos/modules/config/debug-info.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/config/debug-info.nix b/nixos/modules/config/debug-info.nix index 17cb862d291..e2e4c710fb5 100644 --- a/nixos/modules/config/debug-info.nix +++ b/nixos/modules/config/debug-info.nix @@ -20,7 +20,7 @@ with lib; <!-- FIXME: ugly, see #10721 --> <programlisting> nixpkgs.config.packageOverrides = pkgs: { - hello = overrideDerivation pkgs.hello (attrs: { + hello = pkgs.stdenv.lib.overrideDerivation pkgs.hello (attrs: { outputs = attrs.outputs or ["out"] ++ ["debug"]; buildInputs = attrs.buildInputs ++ [<nixpkgs/pkgs/build-support/setup-hooks/separate-debug-info.sh>]; }); |