From 11f72814a6affe379a2ddd17fc143665bc0def0d Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 10 Nov 2025 07:43:24 -0800 Subject: ignore errors --- nix/packages/fcuny.net.nix | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 nix/packages/fcuny.net.nix (limited to 'nix/packages/fcuny.net.nix') diff --git a/nix/packages/fcuny.net.nix b/nix/packages/fcuny.net.nix new file mode 100644 index 0000000..e9ce950 --- /dev/null +++ b/nix/packages/fcuny.net.nix @@ -0,0 +1,31 @@ +{ + lib, + buildGoModule, +}: + +buildGoModule rec { + pname = "fcuny.net"; + version = "0.1.0"; # Consider deriving from git tags: version = builtins.substring 0 8 self.rev; + + src = ../..; + + vendorHash = "sha256-mpwboru/KBCJ8Fuy8kpicKgbmhHDlj7ZNXrfdIUkilg="; + + subPackages = [ "app/fcuny-net" ]; + + ldflags = [ + "-s" + "-w" + ]; + + doCheck = false; + + meta = with lib; { + description = "My personal website"; + homepage = "https://code.fcuny.net/fcuny/x/app/fcuny-net"; + license = licenses.mit; + maintainers = with maintainers; [ fcuny ]; + platforms = platforms.unix; + mainProgram = "fcuny-net"; + }; +} -- cgit v1.2.3