flake: add overlay
This commit is contained in:
parent
6ee365055a
commit
26a9bb0aa9
1 changed files with 8 additions and 1 deletions
|
@ -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 = ''
|
||||
|
|
Loading…
Add table
Reference in a new issue