7 Commits

Author SHA1 Message Date
09896ba4d9 Merge branch 'master' into pjjw/nix-flake-runner
All checks were successful
Nix / build (nixos-22.11) (pull_request) Successful in 24m52s
Nix / build (nixos-unstable) (pull_request) Successful in 15m51s
Nix / build (nixos-23.05) (pull_request) Successful in 18m43s
2023-09-08 12:24:40 -04:00
1cc157b032 Merge pull request 'cachix action failing for unknown reasons, patch to use local runner' (#2) from pjjw/gitea-actions into master
Some checks failed
Nix / build (nixos-unstable) (push) Failing after 21m13s
Nix / build (nixos-22.11) (push) Failing after 23m58s
Nix / build (nixos-23.05) (push) Failing after 24m32s
Reviewed-on: #2
2023-09-08 12:24:27 -04:00
617b5494c1 cachix action failing for unknown reasons, patch to use local runner
All checks were successful
Nix / build (nixos-22.11) (pull_request) Successful in 23m0s
Nix / build (nixos-unstable) (pull_request) Successful in 15m41s
Nix / build (nixos-23.05) (pull_request) Successful in 18m47s
2023-09-07 16:06:59 -04:00
183980b7bb add a nix-flake runner
Some checks failed
Nix / build (nixos-22.11) (pull_request) Failing after 18s
Nix / build (nixos-23.05) (pull_request) Failing after 26s
Nix / build (nixos-unstable) (pull_request) Failing after 26s
2023-09-07 15:44:37 -04:00
Jonas Chevalier
30ea4a75cd devcontainer: fix build on nixos-unstable (#64) 2023-07-18 17:31:21 +02:00
Franz Pletz
ae6d994038 bump to nixos-23.05 (#59)
fixes #57
2023-07-01 22:04:07 +02:00
dependabot[bot]
e9b6514e0e build(deps): bump cachix/install-nix-action from 20 to 22 (#58)
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 20 to 22.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v20...v22)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-19 12:44:07 +02:00
5 changed files with 23 additions and 7 deletions

View File

@@ -16,13 +16,14 @@ jobs:
matrix:
channel:
- nixos-unstable
- nixos-22.05
- nixos-22.11
runs-on: ubuntu-latest
- nixos-23.05
runs-on: native
container: pjjw/nix-flake-runner:1
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v20
- run: nix-shell --run ./ci.sh
env:
CI_PROJECT_PATH: pjjw
CI_REGISTRY_AUTH: '${{ secrets.REGISTRY_AUTH }}'
NIXPKGS_CHANNEL: '${{ matrix.channel }}'

View File

@@ -3,12 +3,12 @@ stages:
build:
stage: build
image: nixpkgs/nix:nixos-22.05
image: nixpkgs/nix:nixos-22.11
script: nix-shell --run ./ci.sh
parallel:
matrix:
- NIXPKGS_CHANNEL: nixos-unstable
IMAGE_TAG: latest
- NIXPKGS_CHANNEL:
- nixos-22.05
- nixos-22.11
- nixos-23.05

View File

@@ -39,8 +39,8 @@ nixpkgs channel describes.
| Channel | Image Tag | Description |
| --- | --- | --- |
| nixos-22.05 | nixos-22.05 | only minor versions that include security updates |
| nixos-22.11 | nixos-22.11 | only minor versions that include security updates |
| nixos-23.05 | nixos-23.05 | only minor versions that include security updates |
| nixos-unstable | latest | latest and greatest, major versions might change |
## List of images

View File

@@ -55,7 +55,12 @@ let
shadow
# for the vscode extension
gcc-unwrapped
# HACK: don't include the "libgcc" output. It has overlapping files with
# the "lib" output, and that breaks the build.
(gcc-unwrapped // {
outputs = builtins.filter (x: x != "libgcc") gcc-unwrapped.outputs;
})
iproute
];
};

View File

@@ -0,0 +1,10 @@
{ docker-nixpkgs
, nodejs
, extraContents ? [ ]
}:
docker-nixpkgs.nix-flakes.override {
extraContents = [
# nodejs for runner
nodejs
] ++ extraContents;
}