about summary refs log tree commit diff
path: root/tvix/store-go/default.nix
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-11-05T12·36+0200
committerflokli <flokli@flokli.de>2023-11-05T13·20+0000
commitb921e3a7e38186204da02de4860803f60022ec4e (patch)
treecd30ed5f6c21a9b2a334bff622276b29d6be4ef6 /tvix/store-go/default.nix
parent231f032eb514dfe8fc65b07faf1ba2bd3fb901bc (diff)
fix(tvix/*store-go): fix depot checks r/6953
This wasn't doing anything, because $(regenerate) was a directory:

/nix/store/cxfxvz76zh9vb7x26h3cx98gkv234jz2-pb-go-check: line 2: /nix/store/my1nd1qvg5iis38rfyn1pm2c7ib7myn5-regenerate: Is a directory

Change-Id: I6ebed1d7b84dceb885c1f25527ce62d973146819
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9959
Tested-by: BuildkiteCI
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'tvix/store-go/default.nix')
-rw-r--r--tvix/store-go/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/store-go/default.nix b/tvix/store-go/default.nix
index 914028eccd3f..b437ba17f50f 100644
--- a/tvix/store-go/default.nix
+++ b/tvix/store-go/default.nix
@@ -1,7 +1,7 @@
 { depot, pkgs, ... }:
 
 let
-  regenerate = pkgs.writeShellScriptBin "regenerate" ''
+  regenerate = pkgs.writeShellScript "regenerate" ''
     (cd $(git rev-parse --show-toplevel)/tvix/store-go && rm *.pb.go && cp ${depot.tvix.store.protos.go-bindings}/*.pb.go . && chmod +w *.pb.go)
   '';
 in