1
1
mirror of https://github.com/oxalica/nil.git synced 2024-11-22 02:55:39 +03:00

Fix flake-compat in CI

This commit is contained in:
oxalica 2022-09-22 22:00:32 +08:00
parent b3360ef76d
commit 40c75334a0
3 changed files with 5 additions and 2 deletions

View File

@ -86,6 +86,9 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
# flake-compat doesn't support shallow repo.
with:
fetch-depth: 0
- name: Install Nix
uses: cachix/install-nix-action@v17
with:

View File

@ -1,3 +1,3 @@
(import (fetchTarball https://github.com/edolstra/flake-compat/archive/master.tar.gz) {
(import (fetchTarball "https://github.com/edolstra/flake-compat/archive/master.tar.gz") {
src = builtins.fetchGit ./.;
}).defaultNix

View File

@ -1,3 +1,3 @@
(import (fetchTarball https://github.com/edolstra/flake-compat/archive/master.tar.gz) {
(import (fetchTarball "https://github.com/edolstra/flake-compat/archive/master.tar.gz") {
src = builtins.fetchGit ./.;
}).shellNix