add nix image
This commit is contained in:
parent
196ed27c40
commit
ee62a517c7
2 changed files with 6 additions and 2 deletions
2
.github/workflows/build-docker.yml
vendored
2
.github/workflows/build-docker.yml
vendored
|
|
@ -7,7 +7,7 @@ jobs:
|
|||
build:
|
||||
strategy:
|
||||
matrix:
|
||||
image: [pyenv, nix-example]
|
||||
image: [pyenv, nix-example, nix]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
|
|
|||
4
nix/Dockerfile
Normal file
4
nix/Dockerfile
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
FROM nixos/nix:2.25.3
|
||||
RUN echo "nixpkgs.config.allowUnfree = true" >> /etc/nix/nix.conf
|
||||
# enable nix-command and flakes
|
||||
RUN echo "experimental-features = nix-command flakes" >> /etc/nix/nix.conf
|
||||
Loading…
Add table
Add a link
Reference in a new issue