mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-29 23:52:55 +00:00
mastodon: remove outdated override
This commit is contained in:
parent
5ef1851bb4
commit
e8f01050d7
@ -22,18 +22,6 @@ stdenv.mkDerivation rec {
|
|||||||
name = "${pname}-gems-${version}";
|
name = "${pname}-gems-${version}";
|
||||||
inherit version gemset ruby;
|
inherit version gemset ruby;
|
||||||
gemdir = src;
|
gemdir = src;
|
||||||
# This fix (copied from https://github.com/NixOS/nixpkgs/pull/76765) replaces the gem
|
|
||||||
# symlinks with directories, resolving this error when running rake:
|
|
||||||
# /nix/store/451rhxkggw53h7253izpbq55nrhs7iv0-mastodon-gems-3.0.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/settings.rb:6:in `<module:Bundler>': uninitialized constant Bundler::Settings (NameError)
|
|
||||||
postBuild = ''
|
|
||||||
for gem in "$out"/lib/ruby/gems/*/gems/*; do
|
|
||||||
cp -a "$gem/" "$gem.new"
|
|
||||||
rm "$gem"
|
|
||||||
# needed on macOS, otherwise the mv yields permission denied
|
|
||||||
chmod +w "$gem.new"
|
|
||||||
mv "$gem.new" "$gem"
|
|
||||||
done
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
mastodonModules = stdenv.mkDerivation {
|
mastodonModules = stdenv.mkDerivation {
|
||||||
|
Loading…
Reference in New Issue
Block a user