mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 11:34:13 +00:00
bumblebee: use postPatch instead of patchPhase
This commit is contained in:
parent
781b9eab61
commit
67c109efe5
@ -69,7 +69,7 @@ in stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
# the have() function is deprecated and not available to bash completions the
|
# the have() function is deprecated and not available to bash completions the
|
||||||
# way they are currently loaded in NixOS, so use _have. See #10936
|
# way they are currently loaded in NixOS, so use _have. See #10936
|
||||||
patchPhase = ''
|
postPatch = ''
|
||||||
substituteInPlace scripts/bash_completion/bumblebee \
|
substituteInPlace scripts/bash_completion/bumblebee \
|
||||||
--replace "have optirun" "_have optirun"
|
--replace "have optirun" "_have optirun"
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user