diff options
author | Vladimír Čunát <vladimir.cunat@nic.cz> | 2022-09-11 08:43:51 +0200 |
---|---|---|
committer | Vladimír Čunát <vladimir.cunat@nic.cz> | 2022-09-11 08:43:51 +0200 |
commit | a3d7dfe8a3f90e8d328286a71d326b20d48d5ffe (patch) | |
tree | 18dc1da93f7fb885a3f3e116288412c51c00150b /pkgs/development/ruby-modules | |
parent | b6caee49dcfe12caf6f5ce07cc1461ed34b8955a (diff) | |
parent | 0fcee2222d74c1482f087d99cf786c552dd3fa78 (diff) | |
download | nixlib-a3d7dfe8a3f90e8d328286a71d326b20d48d5ffe.tar nixlib-a3d7dfe8a3f90e8d328286a71d326b20d48d5ffe.tar.gz nixlib-a3d7dfe8a3f90e8d328286a71d326b20d48d5ffe.tar.bz2 nixlib-a3d7dfe8a3f90e8d328286a71d326b20d48d5ffe.tar.lz nixlib-a3d7dfe8a3f90e8d328286a71d326b20d48d5ffe.tar.xz nixlib-a3d7dfe8a3f90e8d328286a71d326b20d48d5ffe.tar.zst nixlib-a3d7dfe8a3f90e8d328286a71d326b20d48d5ffe.zip |
Merge branch 'master' into staging-next
Diffstat (limited to 'pkgs/development/ruby-modules')
-rw-r--r-- | pkgs/development/ruby-modules/gem-config/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/ruby-modules/gem-config/default.nix b/pkgs/development/ruby-modules/gem-config/default.nix index 4e935c6537a1..3e8f50041404 100644 --- a/pkgs/development/ruby-modules/gem-config/default.nix +++ b/pkgs/development/ruby-modules/gem-config/default.nix @@ -361,6 +361,12 @@ in buildInputs = [ which v8 python2 ]; buildFlags = [ "--with-system-v8=true" ]; dontBuild = false; + # The gem includes broken symlinks which are ignored during unpacking, but + # then fail during build. Since the content is missing anyway, touching the + # files is enough to unblock the build. + preBuild = '' + touch vendor/depot_tools/cbuildbot vendor/depot_tools/chrome_set_ver vendor/depot_tools/cros_sdk + ''; postPatch = '' substituteInPlace ext/libv8/extconf.rb \ --replace "location = Libv8::Location::Vendor.new" \ |