fix(flake): simplify preConfigure
This commit is contained in:
parent
7969b724de
commit
0b381c001f
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@
|
|||
ldflags = [ "-s" "-w" ];
|
||||
|
||||
# Remove stale vendor directory before buildGoModule deletes it.
|
||||
preConfigure = "find vendor -type f -exec chmod 666 {} \; 2>/dev/null || true; rm -rf vendor 2>/dev/null || find vendor -delete 2>/dev/null || true";
|
||||
preConfigure = "rm -rf vendor || true";
|
||||
|
||||
nativeCheckInputs = with pkgs; [ ];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue