forked from haskell/hackage-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replace
shell.nix
with haskell.nix
Flake
- Loading branch information
1 parent
e0e8f41
commit 495a54e
Showing
11 changed files
with
982 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
use flake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: "Test nix-shell" | ||
name: "Test Nix Flake" | ||
on: | ||
push: | ||
branches: | ||
|
@@ -15,7 +15,6 @@ jobs: | |
- uses: actions/[email protected] | ||
- uses: cachix/install-nix-action@v18 | ||
with: | ||
nix_path: nixpkgs=channel:nixos-21.11 | ||
extra_nix_config: | | ||
trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hackage-server.cachix.org-1:iw0iRh6+gsFIrxROFaAt5gKNgIHejKjIfyRdbpPYevY= | ||
substituters = https://hydra.iohk.io https://cache.nixos.org/ https://hackage-server.cachix.org/ | ||
|
@@ -24,4 +23,5 @@ jobs: | |
# https://nix.dev/tutorials/continuous-integration-github-actions#setting-up-github-actions | ||
name: hackage-server | ||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | ||
- run: nix-shell --pure --run ./.github/workflows/test-nix-shell.sh | ||
- run: nix build | ||
# - run: nix flake check |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,4 @@ tags | |
*.swp | ||
TAGS | ||
*~ | ||
.direnv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.