mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03: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
|
||||
# way they are currently loaded in NixOS, so use _have. See #10936
|
||||
patchPhase = ''
|
||||
postPatch = ''
|
||||
substituteInPlace scripts/bash_completion/bumblebee \
|
||||
--replace "have optirun" "_have optirun"
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user