mirror of
https://github.com/NixOS/nix.git
synced 2025-12-02 23:20:59 +01:00
maint: Fix lowdown override compatibility with newer nixpkgs
Use `or ""` fallback for postInstall attribute which may not exist in
newer nixpkgs versions of lowdown.
(cherry picked from commit 0aef1ddb9e)
This commit is contained in:
parent
6ac33ab878
commit
de4df1e90b
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ scope: {
|
||||||
nativeBuildInputs = prevAttrs.nativeBuildInputs ++ [ pkgs.buildPackages.bmake ];
|
nativeBuildInputs = prevAttrs.nativeBuildInputs ++ [ pkgs.buildPackages.bmake ];
|
||||||
postInstall =
|
postInstall =
|
||||||
lib.replaceStrings [ "lowdown.so.1" "lowdown.1.dylib" ] [ "lowdown.so.2" "lowdown.2.dylib" ]
|
lib.replaceStrings [ "lowdown.so.1" "lowdown.1.dylib" ] [ "lowdown.so.2" "lowdown.2.dylib" ]
|
||||||
prevAttrs.postInstall;
|
(prevAttrs.postInstall or "");
|
||||||
});
|
});
|
||||||
|
|
||||||
# TODO: Remove this when https://github.com/NixOS/nixpkgs/pull/442682 is included in a stable release
|
# TODO: Remove this when https://github.com/NixOS/nixpkgs/pull/442682 is included in a stable release
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue