Skip to content

Commit

Permalink
Merge pull request #46 from vlaci/update_flake_lock_action
Browse files Browse the repository at this point in the history
Update flake.lock
  • Loading branch information
vlaci authored Mar 25, 2024
2 parents e5ec79a + cdc4ba5 commit 889c066
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 19 deletions.
30 changes: 15 additions & 15 deletions flake.lock

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

13 changes: 9 additions & 4 deletions lzallright.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
inputs:

{ lib
, callPackage
, system
, stdenv
, python3
Expand Down Expand Up @@ -87,10 +88,14 @@ python3.pkgs.buildPythonPackage
source <(cargo llvm-cov show-env --export-prefix)
'';

nativeBuildInputs = with rustPlatform; [
cargoSetupHook
(maturinBuildHook.override { pkgsHostTarget = { inherit maturin cargo rustc; }; })
] ++ optional coverage cargo-llvm-cov;
nativeBuildInputs =
let
rustHooks = callPackage "${inputs.nixpkgs}/pkgs/build-support/rust/hooks" { };
in
[
rustPlatform.cargoSetupHook
(rustHooks.maturinBuildHook.override { pkgsHostTarget = { inherit maturin cargo rustc; }; })
] ++ optional coverage cargo-llvm-cov;

passthru = {
inherit cargoArtifacts craneLib craneLibLLvmTools commonArgs liblzallright;
Expand Down

0 comments on commit 889c066

Please sign in to comment.