flake.nix: remove default pkg
This commit is contained in:
parent
cb6db975fb
commit
296b77eb25
1 changed files with 1 additions and 21 deletions
22
flake.nix
22
flake.nix
|
@ -20,26 +20,6 @@
|
|||
overlays = [fenix.overlays.default];
|
||||
});
|
||||
in {
|
||||
packages = eachSystem (system: let
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
inherit ((builtins.fromTOML (builtins.readFile ./Cargo.toml)).package) version;
|
||||
in {
|
||||
default = pkgsFor.${system}.rustPlatform.buildRustPackage {
|
||||
pname = "forex";
|
||||
version = "${version}";
|
||||
|
||||
src = self;
|
||||
|
||||
cargoLock = {
|
||||
lockFile = ./.;
|
||||
};
|
||||
|
||||
nativeBuildInputs = with pkgs; [pkg-config];
|
||||
buildInputs = with pkgs; [openssl];
|
||||
|
||||
doCheck = false;
|
||||
};
|
||||
});
|
||||
checks = eachSystem (system: {
|
||||
pre-commit-check = pre-commit-hooks.lib.${system}.run {
|
||||
src = ./.;
|
||||
|
@ -60,8 +40,8 @@
|
|||
packages = with pkgsFor.${system}; [
|
||||
nil
|
||||
alejandra
|
||||
openssl
|
||||
pkg-config
|
||||
openssl
|
||||
(fenix.packages.${system}.complete.withComponents [
|
||||
"cargo"
|
||||
"clippy"
|
||||
|
|
Loading…
Reference in a new issue