Skip to content
Open
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
34 changes: 34 additions & 0 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Nix Build

on:
pull_request:
types:
- opened
- reopened
- synchronize
branches:
- main

workflow_dispatch:


jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
name: 🚧 Nix Flake
steps:

- name: '🧰 Checkout'
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: '❄️ Install Nix'
uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixos-unstable

- name: '🚧 Build Cantata'
run: nix build --print-build-logs
5 changes: 3 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
inherit system;
};
isLinux = pkgs.lib.strings.hasSuffix "-linux" system;
qtEnv = with pkgs.qt6; env "qt-custom-${qtbase.version}"
qtEnv = with pkgs.qt6; env "qt-custom-${qtbase.version}"
([
qtbase
qtconnectivity
Expand Down Expand Up @@ -44,6 +44,7 @@
libmtp
media-player-info
kdePackages.kitemviews
kdePackages.karchive
];
in
{
Expand All @@ -61,5 +62,5 @@
};
}
);

}
Loading