aboutsummaryrefslogtreecommitdiff
path: root/nix/packages
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-11-15 12:27:46 -0800
committerFranck Cuny <franck@fcuny.net>2025-11-15 12:27:46 -0800
commit28b0f67914b11069d3afddd42b574197126b846d (patch)
tree84c1c1ad6d33e38c7d882cd2dac60e45b7bb9cb2 /nix/packages
parentfix name of systemd unit for fcuny-net (diff)
downloadx-28b0f67914b11069d3afddd42b574197126b846d.tar.gz
rename fcuny-net to website
Diffstat (limited to 'nix/packages')
-rw-r--r--nix/packages/default.nix2
-rw-r--r--nix/packages/website.nix (renamed from nix/packages/fcuny.net.nix)6
2 files changed, 4 insertions, 4 deletions
diff --git a/nix/packages/default.nix b/nix/packages/default.nix
index 81fb9eb..87c1b99 100644
--- a/nix/packages/default.nix
+++ b/nix/packages/default.nix
@@ -1,5 +1,5 @@
{ pkgs }:
{
- fcuny.net = pkgs.callPackage ./fcuny.net.nix { };
+ website = pkgs.callPackage ./website.nix { };
}
diff --git a/nix/packages/fcuny.net.nix b/nix/packages/website.nix
index e9ce950..880c93b 100644
--- a/nix/packages/fcuny.net.nix
+++ b/nix/packages/website.nix
@@ -4,7 +4,7 @@
}:
buildGoModule rec {
- pname = "fcuny.net";
+ pname = "fcuny-net";
version = "0.1.0"; # Consider deriving from git tags: version = builtins.substring 0 8 self.rev;
src = ../..;
@@ -22,10 +22,10 @@ buildGoModule rec {
meta = with lib; {
description = "My personal website";
- homepage = "https://code.fcuny.net/fcuny/x/app/fcuny-net";
+ homepage = "https://code.fcuny.net/x/tree/app/fcuny-net";
license = licenses.mit;
maintainers = with maintainers; [ fcuny ];
platforms = platforms.unix;
- mainProgram = "fcuny-net";
+ mainProgram = "bin/fcuny-net";
};
}