fmt
This commit is contained in:
parent
d72071c973
commit
5074167723
1 changed files with 5 additions and 7 deletions
|
@ -15,7 +15,6 @@
|
||||||
inputs.treefmt-nix.flakeModule
|
inputs.treefmt-nix.flakeModule
|
||||||
];
|
];
|
||||||
perSystem = { config, self', pkgs, lib, system, ... }:
|
perSystem = { config, self', pkgs, lib, system, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
cargoToml = builtins.fromTOML (builtins.readFile ./Cargo.toml);
|
cargoToml = builtins.fromTOML (builtins.readFile ./Cargo.toml);
|
||||||
nonRustDeps = [
|
nonRustDeps = [
|
||||||
|
@ -24,8 +23,7 @@
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
# Rust package
|
# Rust package
|
||||||
packages.default =
|
packages.default = pkgs.rustPlatform.buildRustPackage {
|
||||||
pkgs.rustPlatform.buildRustPackage {
|
|
||||||
inherit (cargoToml.package) name version;
|
inherit (cargoToml.package) name version;
|
||||||
src = ./.;
|
src = ./.;
|
||||||
cargoLock.lockFile = ./Cargo.lock;
|
cargoLock.lockFile = ./Cargo.lock;
|
||||||
|
|
Loading…
Reference in a new issue