summary refs log tree commit diff
path: root/nixos/modules/services/continuous-integration/hydra/default.nix
diff options
context:
space:
mode:
authorBas van Dijk <v.dijk.bas@gmail.com>2020-01-14 12:14:25 +0100
committerBas van Dijk <v.dijk.bas@gmail.com>2020-01-14 12:14:25 +0100
commitf34aaa664638cda8802675f713f17be9cbaaf7c7 (patch)
tree7ea01889ef160586f5b454db39c04796e33ea338 /nixos/modules/services/continuous-integration/hydra/default.nix
parente306ee4a56eeb60eb38e97a33e65a769b0e99ad1 (diff)
downloadnixpkgs-f34aaa664638cda8802675f713f17be9cbaaf7c7.tar
nixpkgs-f34aaa664638cda8802675f713f17be9cbaaf7c7.tar.gz
nixpkgs-f34aaa664638cda8802675f713f17be9cbaaf7c7.tar.bz2
nixpkgs-f34aaa664638cda8802675f713f17be9cbaaf7c7.tar.lz
nixpkgs-f34aaa664638cda8802675f713f17be9cbaaf7c7.tar.xz
nixpkgs-f34aaa664638cda8802675f713f17be9cbaaf7c7.tar.zst
nixpkgs-f34aaa664638cda8802675f713f17be9cbaaf7c7.zip
hydra: remove the build-use-substitutes option
The following commit from 2016 in hydra removed the `--option
build-use-substitutes` from the hydra-queue-runner service:

```
commit ee2e9f5335c8c0288c102975b506f6b275793cfe
Author: Eelco Dolstra <edolstra@gmail.com>
Date:	Fri Oct 7 20:23:05 2016 +0200

    Update to reflect BinaryCacheStore changes

    BinaryCacheStore no longer implements buildPaths() and ensurePath(),
    so we need to use copyPath() / copyClosure().
```

It would be better if the hydra module in NixOS matches the upstream
module.
Diffstat (limited to 'nixos/modules/services/continuous-integration/hydra/default.nix')
-rw-r--r--nixos/modules/services/continuous-integration/hydra/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/continuous-integration/hydra/default.nix b/nixos/modules/services/continuous-integration/hydra/default.nix
index 30c5550f71c..ed9876842a0 100644
--- a/nixos/modules/services/continuous-integration/hydra/default.nix
+++ b/nixos/modules/services/continuous-integration/hydra/default.nix
@@ -333,7 +333,7 @@ in
           IN_SYSTEMD = "1"; # to get log severity levels
         };
         serviceConfig =
-          { ExecStart = "@${cfg.package}/bin/hydra-queue-runner hydra-queue-runner -v --option build-use-substitutes ${boolToString cfg.useSubstitutes}";
+          { ExecStart = "@${cfg.package}/bin/hydra-queue-runner hydra-queue-runner -v";
             ExecStopPost = "${cfg.package}/bin/hydra-queue-runner --unlock";
             User = "hydra-queue-runner";
             Restart = "always";