aboutsummaryrefslogtreecommitdiff
path: root/nix/packages
diff options
context:
space:
mode:
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";
};
}