23 lines
No EOL
602 B
Nix
23 lines
No EOL
602 B
Nix
{
|
|
description = "https://noe.sh";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
|
};
|
|
|
|
outputs = inputs: inputs.flake-parts.lib.mkFlake { inherit inputs; } {
|
|
systems = [ "x86_64-linux" "aarch64-linux" ];
|
|
perSystem = { config, self', pkgs, lib, system, ... }: {
|
|
devShells.default = import ./shell.nix { inherit pkgs; };
|
|
|
|
packages.default = pkgs.stdenvNoCC.mkDerivation {
|
|
name = "noe.sh";
|
|
src = ./.;
|
|
installPhase = ''
|
|
cp -r . $out/
|
|
'';
|
|
};
|
|
};
|
|
};
|
|
} |