mirror of
https://codeberg.org/icewind/prometheus-edge-trigger.git
synced 2026-06-03 10:14:12 +02:00
flake reorg
This commit is contained in:
parent
953944c78e
commit
4335ce2daf
4 changed files with 5 additions and 3 deletions
|
|
@ -12,7 +12,9 @@
|
||||||
};
|
};
|
||||||
outputs = {mill-scale, ...}:
|
outputs = {mill-scale, ...}:
|
||||||
mill-scale ./. {
|
mill-scale ./. {
|
||||||
packages.tasprompto = import ./package.nix;
|
withOverlays = [
|
||||||
|
(import ./nix/overlay.nix)
|
||||||
|
];
|
||||||
|
|
||||||
nixosModules = {outputs, ...}: {
|
nixosModules = {outputs, ...}: {
|
||||||
default = {
|
default = {
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
lib,
|
lib,
|
||||||
}: let
|
}: let
|
||||||
inherit (lib.sources) sourceByRegex;
|
inherit (lib.sources) sourceByRegex;
|
||||||
src = sourceByRegex ./. ["Cargo.*" "(src)(/.*)?"];
|
src = sourceByRegex ../. ["Cargo.*" "(src)(/.*)?"];
|
||||||
in
|
in
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "prometheus-edge-trigger";
|
pname = "prometheus-edge-trigger";
|
||||||
|
|
@ -23,6 +23,6 @@ in
|
||||||
];
|
];
|
||||||
|
|
||||||
cargoLock = {
|
cargoLock = {
|
||||||
lockFile = ./Cargo.lock;
|
lockFile = ../Cargo.lock;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue