Compare commits

..

2 commits

Author SHA1 Message Date
uku
05e59c176d
feat: add build workflow
Some checks failed
Build packages / Build derivations (push) Has been cancelled
2024-09-10 16:54:24 +02:00
uku
caecb1adcf
fix(koi): set meta.platforms 2024-09-10 16:49:34 +02:00
2 changed files with 13 additions and 0 deletions

View file

@ -15,12 +15,19 @@ jobs:
- name: Install Nix - name: Install Nix
uses: DeterminateSystems/nix-installer-action@v14 uses: DeterminateSystems/nix-installer-action@v14
- name: Setup Cachix
uses: cachix/cachix-action@v15
with:
name: uku3lig
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- name: Build - name: Build
run: | run: |
nix run \ nix run \
github:Mic92/nix-fast-build -- \ github:Mic92/nix-fast-build -- \
--no-nom \ --no-nom \
--skip-cached \ --skip-cached \
--systems 'x86_64-linux'
--option accept-flake-config true \ --option accept-flake-config true \
--option allow-import-from-derivation false \ --option allow-import-from-derivation false \
--flake '.#packages' --flake '.#packages'

View file

@ -1,4 +1,5 @@
{ {
lib,
stdenv, stdenv,
fetchFromGitHub, fetchFromGitHub,
cmake, cmake,
@ -25,4 +26,9 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [cmake ninja wrapQtAppsHook]; nativeBuildInputs = [cmake ninja wrapQtAppsHook];
buildInputs = [qtbase qtwayland kcoreaddons kwidgetsaddons kconfig]; buildInputs = [qtbase qtwayland kcoreaddons kwidgetsaddons kconfig];
meta = {
mainProgram = "koi";
platforms = lib.platforms.linux;
};
}) })