forked from github-mirror/docker-nixpkgs
Compare commits
5 Commits
nix-unstab
...
master
| 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-22.11
|
||||
- nixos-23.05
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: native
|
||||
container: pjjw/nix-flake-runner:1
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: cachix/install-nix-action@v22
|
||||
- run: nix-shell --run ./ci.sh
|
||||
env:
|
||||
CI_PROJECT_PATH: pjjw
|
||||
CI_REGISTRY_AUTH: '${{ secrets.REGISTRY_AUTH }}'
|
||||
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