This commit is contained in:
41666 2024-03-23 16:25:14 -04:00
commit 3ea8e0e7f3
3 changed files with 49 additions and 0 deletions

23
flake.nix Normal file
View file

@ -0,0 +1,23 @@
{
description = "https://doll.repair";
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 = "doll.repair";
src = ./.;
installPhase = ''
cp -r . $out/
'';
};
};
};
}