flake: add overlay

This commit is contained in:
41666 2024-03-23 01:04:13 -04:00
parent 6ee365055a
commit 26a9bb0aa9

View file

@ -7,11 +7,18 @@
};
outputs = inputs: inputs.flake-parts.lib.mkFlake { inherit inputs; } {
imports = [
inputs.flake-parts.flakeModules.easyOverlay
];
systems = [ "x86_64-linux" "aarch64-linux" ];
perSystem = { config, self', pkgs, lib, system, ... }: {
overlayAttrs = {
inherit (config.packages) noe-sh;
};
devShells.default = import ./shell.nix { inherit pkgs; };
packages.default = pkgs.stdenvNoCC.mkDerivation {
packages.noe-sh = pkgs.stdenvNoCC.mkDerivation {
name = "noe.sh";
src = ./.;
installPhase = ''