flake.nix: remove default pkg

This commit is contained in:
notohh 2024-05-27 10:44:03 -04:00
parent cb6db975fb
commit 296b77eb25
Signed by: notohh
GPG key ID: BD47506D475EE86D

View file

@ -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"