From 67c109efe57012d41ad673e48f040be6a8e9977f Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Wed, 9 Dec 2015 21:02:54 +0300 Subject: bumblebee: use postPatch instead of patchPhase --- pkgs/tools/X11/bumblebee/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/tools/X11/bumblebee/default.nix') diff --git a/pkgs/tools/X11/bumblebee/default.nix b/pkgs/tools/X11/bumblebee/default.nix index d1f0ce93ab4..2206905aa3e 100644 --- a/pkgs/tools/X11/bumblebee/default.nix +++ b/pkgs/tools/X11/bumblebee/default.nix @@ -69,7 +69,7 @@ in stdenv.mkDerivation rec { # the have() function is deprecated and not available to bash completions the # way they are currently loaded in NixOS, so use _have. See #10936 - patchPhase = '' + postPatch = '' substituteInPlace scripts/bash_completion/bumblebee \ --replace "have optirun" "_have optirun" ''; -- cgit 1.4.1