diff options
author | Luke Granger-Brown <git@lukegb.com> | 2021-06-06 21:18:56 +0000 |
---|---|---|
committer | Luke Granger-Brown <git@lukegb.com> | 2021-06-06 21:18:56 +0000 |
commit | bc260c31f12e3f21542cfe3828663225995e9554 (patch) | |
tree | 53c673af73d4fcbad2681aa125ed5fa9ef18a68e /pkgs/build-support/build-bazel-package | |
parent | b45f157f0321290b4f4f840b1dbd1cd8e87c57d7 (diff) | |
download | nixpkgs-bc260c31f12e3f21542cfe3828663225995e9554.tar nixpkgs-bc260c31f12e3f21542cfe3828663225995e9554.tar.gz nixpkgs-bc260c31f12e3f21542cfe3828663225995e9554.tar.bz2 nixpkgs-bc260c31f12e3f21542cfe3828663225995e9554.tar.lz nixpkgs-bc260c31f12e3f21542cfe3828663225995e9554.tar.xz nixpkgs-bc260c31f12e3f21542cfe3828663225995e9554.tar.zst nixpkgs-bc260c31f12e3f21542cfe3828663225995e9554.zip |
buildBazelPackage: don't fail if the marker file doesn't exist
This was the intent of my previous change, but it didn't quite work because the pipeline still exits false even if the file doesn't exist. Oops.
Diffstat (limited to 'pkgs/build-support/build-bazel-package')
-rw-r--r-- | pkgs/build-support/build-bazel-package/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/build-bazel-package/default.nix b/pkgs/build-support/build-bazel-package/default.nix index 988298ac72b..502be398eaa 100644 --- a/pkgs/build-support/build-bazel-package/default.nix +++ b/pkgs/build-support/build-bazel-package/default.nix @@ -126,7 +126,7 @@ in stdenv.mkDerivation (fBuildAttrs // { find $bazelOut/external -maxdepth 1 -type l | while read symlink; do name="$(basename "$symlink")" rm "$symlink" - test -f "$bazelOut/external/@$name.marker" && rm "$bazelOut/external/@$name.marker" + test -f "$bazelOut/external/@$name.marker" && rm "$bazelOut/external/@$name.marker" || true done # Patching symlinks to remove build directory reference |