ci,pre-commit: rename 'nix-build' to 'nix build'..
All checks were successful
continuous-integration/drone/push Build is passing
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:
parent
e06e6f4076
commit
a16bd3ef48
@ -198,7 +198,7 @@ def main(ctx):
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "nix-build",
|
"name": "nix build",
|
||||||
"image": "docker.io/nixos/nix:2.8.0-amd64",
|
"image": "docker.io/nixos/nix:2.8.0-amd64",
|
||||||
"pull": "if-not-exists",
|
"pull": "if-not-exists",
|
||||||
# "depends_on": ["nix flake check", "statix", "pre-build"],
|
# "depends_on": ["nix flake check", "statix", "pre-build"],
|
||||||
@ -221,7 +221,7 @@ def main(ctx):
|
|||||||
"name": "ldd",
|
"name": "ldd",
|
||||||
"image": "docker.io/nixos/nix:2.8.0-amd64",
|
"image": "docker.io/nixos/nix:2.8.0-amd64",
|
||||||
"pull": "if-not-exists",
|
"pull": "if-not-exists",
|
||||||
"depends_on": ["nix-build"],
|
"depends_on": ["nix build"],
|
||||||
"volumes": [
|
"volumes": [
|
||||||
{
|
{
|
||||||
"name": "nix",
|
"name": "nix",
|
||||||
|
@ -44,7 +44,7 @@ repos:
|
|||||||
- repo: local
|
- repo: local
|
||||||
hooks:
|
hooks:
|
||||||
- id: nix-build
|
- id: nix-build
|
||||||
name: nix-build
|
name: nix build
|
||||||
entry: nix-build
|
entry: nix build .#go-xkcdreader
|
||||||
pass_filenames: false
|
pass_filenames: false
|
||||||
language: system
|
language: system
|
||||||
|
Loading…
Reference in New Issue
Block a user