Skip to content

Commit

Permalink
fix(nixpkgs): cutter build failure
Browse files Browse the repository at this point in the history
  • Loading branch information
midchildan committed Feb 29, 2024
1 parent 1ba2d75 commit 5ff6502
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions nix/overlays/nixpkgs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
final: prev:

{
# Workaround for https://github.com/NixOS/nixpkgs/pull/286572
defaultGemConfig = prev.defaultGemConfig // {
jekyll = attrs:
let
Expand All @@ -17,4 +18,19 @@ final: prev:

# there are two separate derivations for jekyll in Nixpkgs for some reason
inherit (prev.rubyPackages) jekyll;

# Fix compile errors
cutter = prev.cutter.overrideAttrs (old: {
patches = (old.patches or [ ]) ++ [
(prev.fetchpatch {
url = "https://github.com/rizinorg/cutter/commit/1a52a7e.patch";
hash = "sha256-cn4nv+qQzt6qadVnpy/Dps8OfHm7P3G0HAHMtAccIRU=";
})
(prev.fetchpatch {
url = "https://github.com/rizinorg/cutter/commit/2106551.patch";
hash = "sha256-Mgyn7xLwM3JIIRBvbjplGVYiVYCGWTmsW2rYVgYUVrw=";
includes = [ "src/widgets/GraphvizLayout.cpp" ];
})
];
});
}

0 comments on commit 5ff6502

Please sign in to comment.