ci: Add support for Cirrus CI
This commit is contained in:
12
ci/linux-nixos.Dockerfile
Normal file
12
ci/linux-nixos.Dockerfile
Normal file
@@ -0,0 +1,12 @@
|
||||
FROM nixos/nix
|
||||
|
||||
COPY ci/shell.nix /tmp
|
||||
COPY ci/shell-i686.nix /tmp
|
||||
|
||||
RUN nix-channel --remove nixpkgs
|
||||
RUN nix-channel --add https://nixos.org/channels/nixos-20.09 nixpkgs
|
||||
RUN nix-channel --update
|
||||
|
||||
# Run dummy command "true" in the nix-shell just to get the packages prepared.
|
||||
RUN nix-shell /tmp/shell.nix --command true
|
||||
RUN nix-shell /tmp/shell-i686.nix --command true
|
||||
Reference in New Issue
Block a user