diff options
author | Malte Voos <git@mal.tc> | 2025-02-20 01:08:31 +0100 |
---|---|---|
committer | Malte Voos <git@mal.tc> | 2025-02-20 01:08:31 +0100 |
commit | 1b8dc665934f3e1a386a43e0ecb6d2eaf89ea5aa (patch) | |
tree | 2a0bc8276942ed8c0947fcbdef72deb550f52159 | |
parent | d47dffedbd77b00fa1d9e76ead3b5c38333eb3f9 (diff) | |
download | reMder-main.tar.gz reMder-main.zip |
fix overlay attribute in flake main
-rw-r--r-- | flake.nix | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/flake.nix b/flake.nix index 222eb14..f8bf227 100644 --- a/flake.nix +++ b/flake.nix @@ -9,8 +9,8 @@ nixpkgs, flake-utils, }: - flake-utils.lib.eachDefaultSystem (system: rec { - overlays.default = + let + overlay = final: prev: let sshPassword = "1234"; @@ -35,14 +35,18 @@ { inherit reMder; }; - + in + flake-utils.lib.eachDefaultSystem (system: { packages.default = let pkgs = import nixpkgs { inherit system; - overlays = [ overlays.default ]; + overlays = [ overlay ]; }; in pkgs.reMder; - }); + }) + // { + overlays.default = overlay; + }; } |