ci: Attempt to fix cleanliness of derivation

This commit is contained in:
kat witch 2021-05-24 23:29:23 +01:00
parent b462492f8c
commit 18e84e5279
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72

View file

@ -40,12 +40,14 @@ with lib; {
tasks.niv-build.inputs = with channels.cipkgs;
ci.command {
name = "niv-update-build";
allowSubstitutes = false;
cache = {
enable = false;
};
displayName = "niv update build";
environment = [ "OPENSSH_PRIVATE_KEY" "CACHIX_SIGNING_KEY" "GITHUB_REF" ];
command = ''
# ${toString builtins.currentTime}
if [[ -n $OPENSSH_PRIVATE_KEY ]]; then
mkdir ~/.ssh
echo "$OPENSSH_PRIVATE_KEY" > ~/.ssh/id_rsa