bumblebee: use postPatch instead of patchPhase

This commit is contained in:
Nikolay Amiantov 2015-12-09 21:02:54 +03:00
parent 781b9eab61
commit 67c109efe5

View File

@ -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"
'';