mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 12:29:02 +02:00
vocal: fix build with vala 0.56
This commit is contained in:
parent
2e80b3ffab
commit
8523b08ea6
|
@ -72,6 +72,13 @@ stdenv.mkDerivation rec {
|
|||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# Fix build with vala 0.56
|
||||
# https://github.com/needle-and-thread/vocal/pull/503
|
||||
substituteInPlace src/Vocal.vala \
|
||||
--replace "public const OptionEntry[] app_options" "private const OptionEntry[] app_options"
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script {
|
||||
attrPath = pname;
|
||||
|
|
Loading…
Reference in a new issue