mirror of
https://codeberg.org/icewind/rss-webhook-trigger.git
synced 2026-11-30 12:10:50 +01:00
fmt
This commit is contained in:
parent
cc1d6f7c3c
commit
a3818da108
6 changed files with 42 additions and 41 deletions
|
|
@ -1,19 +1,19 @@
|
|||
{ rustPlatform
|
||||
, lib
|
||||
}:
|
||||
let
|
||||
{
|
||||
rustPlatform,
|
||||
lib,
|
||||
}: let
|
||||
inherit (lib.sources) sourceByRegex;
|
||||
inherit (builtins) fromTOML readFile;
|
||||
src = sourceByRegex ../. [ "Cargo.*" "(src)(/.*)?" ];
|
||||
src = sourceByRegex ../. ["Cargo.*" "(src)(/.*)?"];
|
||||
cargoPackage = (fromTOML (readFile ../Cargo.toml)).package;
|
||||
in
|
||||
rustPlatform.buildRustPackage rec {
|
||||
inherit (cargoPackage) version;
|
||||
pname = cargoPackage.name;
|
||||
rustPlatform.buildRustPackage rec {
|
||||
inherit (cargoPackage) version;
|
||||
pname = cargoPackage.name;
|
||||
|
||||
inherit src;
|
||||
inherit src;
|
||||
|
||||
cargoLock = {
|
||||
lockFile = ../Cargo.lock;
|
||||
};
|
||||
}
|
||||
cargoLock = {
|
||||
lockFile = ../Cargo.lock;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue