flake.nix: move packages in overlay under key

This commit is contained in:
Astro 2021-11-09 02:57:06 +01:00
parent 9064f42df5
commit 3fbb5febfb
1 changed files with 3 additions and 2 deletions

View File

@ -56,8 +56,9 @@
nativeBuildInputs ++ buildInputs;
};
}) // {
overlay = final: prev:
self.packages.${prev.system};
overlay = final: prev: {
heliwatch = self.packages.${prev.system};
};
nixosModules.heliwatch = import ./heliwatch/module.nix { inherit self; };
};