Skip to content

Commit 0aef1dd

Browse files
committed
maint: Fix lowdown override compatibility with newer nixpkgs
Use `or ""` fallback for postInstall attribute which may not exist in newer nixpkgs versions of lowdown.
1 parent 2636f50 commit 0aef1dd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packaging/dependencies.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ scope: {
3939
nativeBuildInputs = prevAttrs.nativeBuildInputs ++ [ pkgs.buildPackages.bmake ];
4040
postInstall =
4141
lib.replaceStrings [ "lowdown.so.1" "lowdown.1.dylib" ] [ "lowdown.so.2" "lowdown.2.dylib" ]
42-
prevAttrs.postInstall;
42+
(prevAttrs.postInstall or "");
4343
});
4444

4545
# TODO: Remove this when https://github.com/NixOS/nixpkgs/pull/442682 is included in a stable release

0 commit comments

Comments
 (0)