Skip to content

Commit

Permalink
nix: temporary patches override
Browse files Browse the repository at this point in the history
  • Loading branch information
nim65s committed Oct 7, 2024
1 parent d87dacf commit f7a23ae
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@
packages = {
default = self'.packages.hpp-doc;
hpp-doc = pkgs.python3Packages.hpp-doc.overrideAttrs (_: {
# TODO: remove this on next release
prePatch = ''
substituteInPlace scripts/packageDep --replace-fail \
"/usr/bin/env python3" \
"${pkgs.python3Packages.python.interpreter}"
'';
src = pkgs.lib.fileset.toSource {
root = ./.;
fileset = pkgs.lib.fileset.unions [
Expand Down

0 comments on commit f7a23ae

Please sign in to comment.