diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index 8609742..c76d9e9 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -15,12 +15,19 @@ jobs: - name: Install Nix uses: DeterminateSystems/nix-installer-action@v14 + - name: Setup Cachix + uses: cachix/cachix-action@v15 + with: + name: uku3lig + authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} + - name: Build run: | nix run \ github:Mic92/nix-fast-build -- \ --no-nom \ --skip-cached \ + --systems 'x86_64-linux' --option accept-flake-config true \ --option allow-import-from-derivation false \ --flake '.#packages' diff --git a/pkgs/koi.nix b/pkgs/koi.nix index 0a68c5a..3188b88 100644 --- a/pkgs/koi.nix +++ b/pkgs/koi.nix @@ -1,4 +1,5 @@ { + lib, stdenv, fetchFromGitHub, cmake, @@ -25,4 +26,9 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [cmake ninja wrapQtAppsHook]; buildInputs = [qtbase qtwayland kcoreaddons kwidgetsaddons kconfig]; + + meta = { + mainProgram = "koi"; + platforms = lib.platforms.linux; + }; })