Skip to content

Commit

Permalink
puppet-bolt: do not reset default gem config
Browse files Browse the repository at this point in the history
  • Loading branch information
tie committed May 31, 2024
1 parent 5ceeafa commit 9b73495
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions pkgs/by-name/pu/puppet-bolt/package.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
bundlerApp,
defaultGemConfig,
bundlerUpdateScript,
lib,
makeWrapper,
Expand All @@ -14,10 +15,12 @@
exes = [ "bolt" ];
nativeBuildInputs = [ makeWrapper ];

gemConfig.bolt = attrs: {
# scripts in libexec will be executed by remote host,
# so shebangs should remain unchanged
dontPatchShebangs = true;
gemConfig = defaultGemConfig // {
bolt = attrs: {
# scripts in libexec will be executed by remote host,
# so shebangs should remain unchanged
dontPatchShebangs = true;
};
};

postBuild = ''
Expand Down

0 comments on commit 9b73495

Please sign in to comment.