Merge pull request #287257 from 999eagle/fix/hydra-pg-application-name

nixos/hydra: use set-default in hydra-env wrapper package
This commit is contained in:
Artturi 2024-02-18 17:21:53 +02:00 committed by GitHub
commit dab023d0cc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -39,7 +39,7 @@ let
hydra-package =
let
makeWrapperArgs = concatStringsSep " " (mapAttrsToList (key: value: "--set \"${key}\" \"${value}\"") hydraEnv);
makeWrapperArgs = concatStringsSep " " (mapAttrsToList (key: value: "--set-default \"${key}\" \"${value}\"") hydraEnv);
in pkgs.buildEnv rec {
name = "hydra-env";
nativeBuildInputs = [ pkgs.makeWrapper ];