aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/nix-build.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/nix-build.yaml')
-rw-r--r--.github/workflows/nix-build.yaml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/nix-build.yaml b/.github/workflows/nix-build.yaml
new file mode 100644
index 00000000..0f74c4d5
--- /dev/null
+++ b/.github/workflows/nix-build.yaml
@@ -0,0 +1,19 @@
+name: Build Hyprland (Nix)
+
+on: [push, pull_request, workflow_dispatch]
+jobs:
+ nix:
+ name: "Build Hyprland (Nix)"
+ runs-on: ubuntu-latest
+ steps:
+ - name: Clone repository
+ uses: actions/checkout@v3
+ - name: Install nix
+ uses: cachix/install-nix-action@v17
+ with:
+ install_url: https://releases.nixos.org/nix/nix-2.8.0/install
+ extra_nix_config: |
+ auto-optimise-store = true
+ experimental-features = nix-command flakes
+ - name: Build HyprLand with default settings
+ run: nix build --print-build-logs