Compare commits
2 commits
cadb493c02
...
05e59c176d
Author | SHA1 | Date | |
---|---|---|---|
05e59c176d | |||
caecb1adcf |
2 changed files with 39 additions and 0 deletions
33
.forgejo/workflows/build.yml
Normal file
33
.forgejo/workflows/build.yml
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
name: Build packages
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Build derivations
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- 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'
|
|
@ -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;
|
||||||
|
};
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue