-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch all go packages to buildGoModule (#64)
* switch everything to buildGoModule * fix check * add gaia6-ordered * update gaia6 * trying to fix CI * remove gaia6-ordered * remove gaia6-ordered from flake.lock * add gaia minor versions * use gaia6 for gaia attr
- Loading branch information
1 parent
dc2e757
commit 1f68ccf
Showing
53 changed files
with
301 additions
and
47,145 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 |
---|---|---|
|
@@ -8,10 +8,8 @@ jobs: | |
uses: actions/[email protected] | ||
|
||
- name: Install Nix ❄️ | ||
uses: cachix/install-nix-action@v13 | ||
uses: cachix/install-nix-action@v15 | ||
with: | ||
install_url: https://nixos-nix-install-tests.cachix.org/serve/i6laym9jw3wg9mw6ncyrk6gjx4l34vvx/install | ||
install_options: '--tarball-url-prefix https://nixos-nix-install-tests.cachix.org/serve' | ||
extra_nix_config: | | ||
experimental-features = nix-command flakes | ||
|
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,23 +1,10 @@ | ||
{ packages, inputs, pkgs, system }: | ||
let | ||
go-source-inputs = (import ./sync-go-modules/go-source-inputs.nix) { inherit inputs; }; | ||
go-modules-check = (import ./sync-go-modules) { inherit pkgs go-source-inputs; }; | ||
in | ||
{ packages, inputs, system }: | ||
{ | ||
pre-commit-check = inputs.pre-commit-hooks.lib.${system}.run { | ||
src = ./.; | ||
hooks = { | ||
nixpkgs-fmt.enable = true; | ||
nix-linter.enable = true; | ||
ormolu.enable = true; | ||
sync-go-modules = { | ||
enable = true; | ||
name = "go-modules-check"; | ||
entry = "${go-modules-check} -l"; | ||
files = "(\\.(lock|narHash)|flake.nix)$"; | ||
language = "system"; | ||
pass_filenames = false; | ||
}; | ||
}; | ||
}; | ||
} // packages # adding packages here ensures that every attr gets built on check |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.