try nix installer
This commit is contained in:
parent
24b0e94a23
commit
9fc9d4af11
2 changed files with 6 additions and 3 deletions
2
.forgejo/workflows/Dockerfile
Normal file
2
.forgejo/workflows/Dockerfile
Normal file
|
@ -0,0 +1,2 @@
|
|||
FROM nixos/nix
|
||||
ENTRYPOINT [ "/usr/bin/env" "sleep" "3600" ]
|
|
@ -7,8 +7,9 @@ jobs:
|
|||
runs-on: docker
|
||||
container:
|
||||
image: nixos/nix:2.16.1
|
||||
entrypoint: /usr/bin/env sleep
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- run: ls -l
|
||||
- run: uname -a
|
||||
- name: Install Nix
|
||||
uses: https://github.com/DeterminateSystems/nix-installer-action@v4
|
||||
- name: Run `nix build`
|
||||
run: nix --version
|
||||
|
|
Loading…
Reference in a new issue