bennet @main -
refs -
log -
-
https://git.jolheiser.com/bennet.git
Signature
-----BEGIN SSH SIGNATURE-----
U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgBTEvCQk6VqUAdN2RuH6bj1dNkY
oOpbPWj+jw4ua1B1cAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5
AAAAQNjN+PzopBhspB2DuC+4zQfEOwM8gI24cEp5yWKXabwta+doPbh2if4f+PFiB4LQaS
srP60zgIpurEKiNS/Bow4=
-----END SSH SIGNATURE-----
diff --git a/flake.lock b/flake.lock
new file mode 100644
index 0000000000000000000000000000000000000000..fc2699e3c922a5cf90ebae25b296461fea426c83
--- /dev/null
+++ b/flake.lock
@@ -0,0 +1,27 @@
+{
+ "nodes": {
+ "nixpkgs": {
+ "locked": {
+ "lastModified": 1720657034,
+ "narHash": "sha256-nPhbeFdyN8yn+EXmnPcBWisoypndtQbNIhSKmAinv3E=",
+ "owner": "nixos",
+ "repo": "nixpkgs",
+ "rev": "212defe037698e18fc9521dfe451779a8979844c",
+ "type": "github"
+ },
+ "original": {
+ "owner": "nixos",
+ "ref": "nixpkgs-unstable",
+ "repo": "nixpkgs",
+ "type": "github"
+ }
+ },
+ "root": {
+ "inputs": {
+ "nixpkgs": "nixpkgs"
+ }
+ }
+ },
+ "root": "root",
+ "version": 7
+}
diff --git a/flake.nix b/flake.nix
new file mode 100644
index 0000000000000000000000000000000000000000..defdb01d8223040d05d6a16329ccf305d91356d5
--- /dev/null
+++ b/flake.nix
@@ -0,0 +1,25 @@
+{
+ inputs.nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
+
+ outputs = {
+ self,
+ nixpkgs,
+ }: let
+ system = "x86_64-linux";
+ pkgs = nixpkgs.legacyPackages.${system};
+ in {
+ packages.${system}.default = pkgs.stdenv.mkDerivation {
+ pname = "bennet";
+ version = self.rev or "dev";
+ src = ./src;
+ buildPhase = ''
+ runHook preBuild
+
+ mkdir $out
+ cp * $out
+
+ runHook postBuild
+ '';
+ };
+ };
+}