Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,16 @@ jobs:
architecture:
- aarch64-darwin
package:
- firehydrant-mcp
- mcp-remote
- nix-docker
- oh-my-tmux
- render-workflows
- postgres-mcp
- sf-pro
name: Build packages
'on':
push:
paths:
- flake.lock
- .github/**/*.yml
- modules/packages/**/*.nix
- flake.lock
4 changes: 4 additions & 0 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ build-system name:
build-home name:
nh home build .#homeConfigurations.{{ name }}.activation-script {{ nh-build-flags }}

[doc("Build a specific package")]
build-package name:
nom build .#packages.aarch64-darwin.{{ name }}

[doc("Switch to the current host profile")]
switch:
nh darwin switch .#
Expand Down
74 changes: 37 additions & 37 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions modules/development/ci.nix
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,16 @@ in {

".github/workflows/packages.yml" = {
name = "Build packages";
on.push.paths = [ "flake.lock" "modules/packages/**/*.nix" ];
on.push.paths =
[ ".github/**/*.yml" "modules/packages/**/*.nix" "flake.lock" ];
jobs = {
build-package = {
name = "Build package";
runs-on = "macos-15";
strategy.matrix = {
architecture = [ "aarch64-darwin" ];
package = l.attrNames self.packages.aarch64-darwin;
package = l.filter (name: name != "render-workflows")
(l.attrNames self.packages.aarch64-darwin);
};
steps = setup ++ [{
name =
Expand Down
Loading