flake reorg

This commit is contained in:
Robin Appelman 2025-06-02 22:34:22 +02:00
commit 4335ce2daf
4 changed files with 5 additions and 3 deletions

View file

@ -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 = {

View file

@ -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;
}; };
} }