From a16bd3ef48c5ab0b8345f6ecf5e274cd71d525be Mon Sep 17 00:00:00 2001 From: surtur Date: Mon, 16 May 2022 13:56:26 +0200 Subject: [PATCH] ci,pre-commit: rename 'nix-build' to 'nix build'.. to reflect command's flake nature. nix-build actually uses default.nix - legacy way of building stuff. --- .drone.starlark | 4 ++-- .pre-commit-config.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.drone.starlark b/.drone.starlark index 63e9185..349e259 100644 --- a/.drone.starlark +++ b/.drone.starlark @@ -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", diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 383a875..5bfe723 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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