hopefully the last complete restructure of this repo

This commit is contained in:
2024-10-24 15:34:23 -05:00
parent 8316336e0d
commit 77b7c16edc
123 changed files with 994 additions and 1313 deletions

View File

@@ -0,0 +1,40 @@
{
description = "Nathan user External Flakes";
inputs = {
digital = {
url = "https://github.com/hneemann/Digital/releases/latest/download/Digital.zip";
flake = false;
};
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
};
outputs = { self, ... }@inputs: let
system = "x86_64-linux";
_pkgs = import inputs.nixpkgs { inherit system; };
in {
packages.${system}.digital = _pkgs.stdenv.mkDerivation {
name = "digital";
src = inputs.digital;
buildPhase = ''
'';
installPhase = ''
mkdir -p $out/bin
echo "${_pkgs.zulu}/bin/java -jar $src/Digital.jar" > $out/bin/$name
chmod +x $out/bin/digital
'';
};
hmModule = { config, lib, pkgs, ... }: import ./. { inherit config lib pkgs self; };
};
}