From 9c71189567163ef53acfbfd7c39384683a592290 Mon Sep 17 00:00:00 2001 From: seth Date: Mon, 29 May 2023 01:15:01 -0400 Subject: !back to hercules-ci hydra is a little annoying to configure, especially with features like github prs --- hosts/p-body/cachix.nix | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 hosts/p-body/cachix.nix (limited to 'hosts/p-body/cachix.nix') diff --git a/hosts/p-body/cachix.nix b/hosts/p-body/cachix.nix deleted file mode 100644 index 1dc1830..0000000 --- a/hosts/p-body/cachix.nix +++ /dev/null @@ -1,18 +0,0 @@ -{pkgs, ...}: let - uploadToCachix = pkgs.writeScriptBin "upload-to-cachix" '' - #!/bin/sh - set -euf - - OUT_END=$(echo ''${OUT_PATHS: -10}) - if [ "$OUT_END" == "-spec.json" ]; then - exit 0 - fi - - export HOME=/root - exec ${pkgs.cachix}/bin/cachix -c /etc/cachix/cachix.dhall push getchoo $OUT_PATHS > /tmp/hydra_cachix 2>&1 - ''; -in { - nix.extraOptions = '' - post-build-hook = ${uploadToCachix}/bin/upload-to-cachix - ''; -} -- cgit v1.2.3