about summary refs log tree commit diff
diff options
context:
space:
mode:
authorIvan Trubach <mr.trubach@icloud.com>2024-05-30 00:21:16 +0300
committerIvan Trubach <mr.trubach@icloud.com>2024-05-31 16:46:26 +0300
commit9b73495f9465412552f5c7543e1453febd681fb6 (patch)
tree3c7ba7377f937d4f78de6276d46b776404aea37d
parent5ceeafa47de0b2e842354147fafc39d567e4cd9c (diff)
puppet-bolt: do not reset default gem config
-rw-r--r--pkgs/by-name/pu/puppet-bolt/package.nix11
1 files changed, 7 insertions, 4 deletions
diff --git a/pkgs/by-name/pu/puppet-bolt/package.nix b/pkgs/by-name/pu/puppet-bolt/package.nix
index 7340ed9eb751e..a937752698559 100644
--- a/pkgs/by-name/pu/puppet-bolt/package.nix
+++ b/pkgs/by-name/pu/puppet-bolt/package.nix
@@ -1,5 +1,6 @@
 {
   bundlerApp,
+  defaultGemConfig,
   bundlerUpdateScript,
   lib,
   makeWrapper,
@@ -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 = ''