Skip to content

Commit

Permalink
Merge pull request #665 from onekey-sec/revert-643-update_flake_lock_…
Browse files Browse the repository at this point in the history
…action

Revert "Update flake.lock"
  • Loading branch information
qkaiser authored Oct 9, 2023
2 parents a7a97c7 + 051cd1c commit d302d0d
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 39 deletions.
72 changes: 36 additions & 36 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion nix/pyfatfs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ python3.pkgs.buildPythonApplication rec {

nativeBuildInputs = with python3.pkgs; [ pytest-runner setuptools-scm ];

propagatedBuildInputs = with python3.pkgs; [ pip fs ];
propagatedBuildInputs = with python3.pkgs; [ fs ];

postPatch = ''
substituteInPlace ./setup.py --replace 'setuptools_scm~=5.0.0' setuptools_scm
Expand Down
9 changes: 7 additions & 2 deletions overlay.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,14 @@ inputs: final: prev:
hardeningDisable = (super.hardeningDisable or [ ]) ++ [ "fortify3" ];
});

# Lief 12.3 incompatibility with Cmake 3.26
lief = prev.lief.overrideAttrs (super: {
meta.platform = super.meta.platform ++ [ final.lib.platforms.darwin ];
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"]'
'';
});

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

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

});
};

Expand Down

0 comments on commit d302d0d

Please sign in to comment.