mirror of
https://github.com/msfjarvis/gitice
synced 2025-08-15 02:47:00 +05:30
fix(flakes): remove unused native deps
This commit is contained in:
parent
5372360c1c
commit
2817eefa30
1 changed files with 2 additions and 10 deletions
12
flake.nix
12
flake.nix
|
@ -54,16 +54,8 @@
|
||||||
pkgs.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml;
|
pkgs.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml;
|
||||||
craneLib = (crane.mkLib pkgs).overrideToolchain rustStable;
|
craneLib = (crane.mkLib pkgs).overrideToolchain rustStable;
|
||||||
src = craneLib.cleanCargoSource ./.;
|
src = craneLib.cleanCargoSource ./.;
|
||||||
nativeBuildInputs = with pkgs; [
|
nativeBuildInputs = [];
|
||||||
perl
|
buildInputs = [];
|
||||||
pkg-config
|
|
||||||
openssl
|
|
||||||
];
|
|
||||||
buildInputs =
|
|
||||||
[pkgs.openssl]
|
|
||||||
++ pkgs.lib.optionals pkgs.stdenv.isDarwin
|
|
||||||
[pkgs.darwin.apple_sdk.frameworks.Security];
|
|
||||||
|
|
||||||
cargoArtifacts = craneLib.buildDepsOnly {
|
cargoArtifacts = craneLib.buildDepsOnly {
|
||||||
inherit src buildInputs nativeBuildInputs;
|
inherit src buildInputs nativeBuildInputs;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue