Merge pull request #14787 from manveru/gem-config
gem-config: fix bundler
This commit is contained in:
commit
f8e020bb6b
1 changed files with 10 additions and 0 deletions
|
@ -166,5 +166,15 @@ in
|
||||||
export XAPIAN_CONFIG=${xapian}/bin/xapian-config
|
export XAPIAN_CONFIG=${xapian}/bin/xapian-config
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# patching shebangs would fail on the templates/Executable file, so we
|
||||||
|
# temporarily remove the executable flag.
|
||||||
|
bundler = attrs:
|
||||||
|
let
|
||||||
|
templates = "${attrs.ruby.gemPath}/gems/${attrs.gemName}-${attrs.version}/lib/bundler/templates/";
|
||||||
|
in {
|
||||||
|
preFixup = "chmod -x $out/${templates}/Executable";
|
||||||
|
postFixup = "chmod +x $out/${templates}/Executable";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue