ci,pre-commit: rename 'nix-build' to 'nix build'..
All checks were successful
continuous-integration/drone/push Build is passing

to reflect command's flake nature. nix-build actually uses default.nix -
legacy way of building stuff.
This commit is contained in:
surtur 2022-05-16 13:56:26 +02:00
parent e06e6f4076
commit a16bd3ef48
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D
2 changed files with 4 additions and 4 deletions

View File

@ -198,7 +198,7 @@ def main(ctx):
]
},
{
"name": "nix-build",
"name": "nix build",
"image": "docker.io/nixos/nix:2.8.0-amd64",
"pull": "if-not-exists",
# "depends_on": ["nix flake check", "statix", "pre-build"],
@ -221,7 +221,7 @@ def main(ctx):
"name": "ldd",
"image": "docker.io/nixos/nix:2.8.0-amd64",
"pull": "if-not-exists",
"depends_on": ["nix-build"],
"depends_on": ["nix build"],
"volumes": [
{
"name": "nix",

View File

@ -44,7 +44,7 @@ repos:
- repo: local
hooks:
- id: nix-build
name: nix-build
entry: nix-build
name: nix build
entry: nix build .#go-xkcdreader
pass_filenames: false
language: system