Skip to content

Commit

Permalink
chore(deps): trying to fix lief.
Browse files Browse the repository at this point in the history
  • Loading branch information
qkaiser committed Oct 8, 2023
1 parent d612cff commit a418623
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions overlay.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,8 @@ inputs: final: prev:
hardeningDisable = (super.hardeningDisable or [ ]) ++ [ "fortify3" ];
});

# Lief 12.3 incompatibility with Cmake 3.26
lief = prev.lief.overrideAttrs (super: {
postPatch = ''
substituteInPlace setup.py \
--replace \
'cmake_args = ["-DLIEF_FORCE_API_EXPORTS=ON", "-DLIEF_PYTHON_API=on"]' \
'cmake_args = ["-DLIEF_FORCE_API_EXPORTS=ON", "-DLIEF_PYTHON_API=on", "-DLIEF_EXAMPLES=off"]'
'';
meta.platform = super.meta.platform ++ [ final.lib.platforms.darwin ];
});

# Own package updated independently of nixpkgs
Expand All @@ -44,6 +38,7 @@ inputs: final: prev:

# Own package updated independently of nixpkgs
unblob-native = inputs.unblob-native.packages.${final.system}.default;

});
};

Expand Down

0 comments on commit a418623

Please sign in to comment.