mirror of
https://github.com/nix-community/docker-nixpkgs.git
synced 2026-01-11 20:30:37 -05:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d8d767b117 | |||
| 09896ba4d9 | |||
| 1cc157b032 | |||
| 617b5494c1 | |||
| 183980b7bb |
5
.github/workflows/nix.yml
vendored
5
.github/workflows/nix.yml
vendored
@@ -18,11 +18,12 @@ jobs:
|
|||||||
- nixos-unstable
|
- nixos-unstable
|
||||||
- nixos-22.11
|
- nixos-22.11
|
||||||
- nixos-23.05
|
- nixos-23.05
|
||||||
runs-on: ubuntu-latest
|
runs-on: native
|
||||||
|
container: pjjw/nix-flake-runner:1
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: cachix/install-nix-action@v22
|
|
||||||
- run: nix-shell --run ./ci.sh
|
- run: nix-shell --run ./ci.sh
|
||||||
env:
|
env:
|
||||||
|
CI_PROJECT_PATH: pjjw
|
||||||
CI_REGISTRY_AUTH: '${{ secrets.REGISTRY_AUTH }}'
|
CI_REGISTRY_AUTH: '${{ secrets.REGISTRY_AUTH }}'
|
||||||
NIXPKGS_CHANNEL: '${{ matrix.channel }}'
|
NIXPKGS_CHANNEL: '${{ matrix.channel }}'
|
||||||
|
|||||||
10
images/nix-flakes-runner/default.nix
Normal file
10
images/nix-flakes-runner/default.nix
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
{ docker-nixpkgs
|
||||||
|
, nodejs
|
||||||
|
, extraContents ? [ ]
|
||||||
|
}:
|
||||||
|
docker-nixpkgs.nix-flakes.override {
|
||||||
|
extraContents = [
|
||||||
|
# nodejs for runner
|
||||||
|
nodejs
|
||||||
|
] ++ extraContents;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user