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, ...}:
mill-scale ./. {
packages.tasprompto = import ./package.nix;
withOverlays = [
(import ./nix/overlay.nix)
];
nixosModules = {outputs, ...}: {
default = {

View file

@ -6,7 +6,7 @@
lib,
}: let
inherit (lib.sources) sourceByRegex;
src = sourceByRegex ./. ["Cargo.*" "(src)(/.*)?"];
src = sourceByRegex ../. ["Cargo.*" "(src)(/.*)?"];
in
rustPlatform.buildRustPackage rec {
pname = "prometheus-edge-trigger";
@ -23,6 +23,6 @@ in
];
cargoLock = {
lockFile = ./Cargo.lock;
lockFile = ../Cargo.lock;
};
}