Revert "ruby: Fix build on systems with store optimisation. Closes #4273. #4266 promises a better fix."
This reverts commit d2c0011c2fafa92624b30a2408123a15a1af390f. c04e49289871232ff3c2fd1239b64c2513f18fd1 gives a cleaner solution that's not specific to ruby.
This commit is contained in:
parent
e3ef797901
commit
576092eec4
@ -48,12 +48,6 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
# Fix a build failure on systems with nix store optimisation.
|
|
||||||
# (The build process attempted to copy file a overwriting file b, where a and
|
|
||||||
# b are hard-linked, which results in cp returning a non-zero exit code.)
|
|
||||||
# https://github.com/NixOS/nixpkgs/issues/4266
|
|
||||||
postUnpack = ''rm "$sourceRoot/enc/unicode/name2ctype.h"'';
|
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
./ruby19-parallel-install.patch
|
./ruby19-parallel-install.patch
|
||||||
./bitperfect-rdoc.patch
|
./bitperfect-rdoc.patch
|
||||||
|
@ -50,12 +50,6 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
# Fix a build failure on systems with nix store optimisation.
|
|
||||||
# (The build process attempted to copy file a overwriting file b, where a and
|
|
||||||
# b are hard-linked, which results in cp returning a non-zero exit code.)
|
|
||||||
# https://github.com/NixOS/nixpkgs/issues/4266
|
|
||||||
postUnpack = ''rm "$sourceRoot/enc/unicode/name2ctype.h"'';
|
|
||||||
|
|
||||||
patches = ops useRailsExpress [
|
patches = ops useRailsExpress [
|
||||||
"${patchSet}/patches/ruby/2.0.0/p481/01-zero-broken-tests.patch"
|
"${patchSet}/patches/ruby/2.0.0/p481/01-zero-broken-tests.patch"
|
||||||
"${patchSet}/patches/ruby/2.0.0/p481/02-railsexpress-gc.patch"
|
"${patchSet}/patches/ruby/2.0.0/p481/02-railsexpress-gc.patch"
|
||||||
|
@ -51,12 +51,6 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
# Fix a build failure on systems with nix store optimisation.
|
|
||||||
# (The build process attempted to copy file a overwriting file b, where a and
|
|
||||||
# b are hard-linked, which results in cp returning a non-zero exit code.)
|
|
||||||
# https://github.com/NixOS/nixpkgs/issues/4266
|
|
||||||
postUnpack = ''rm "$sourceRoot/enc/unicode/name2ctype.h"'';
|
|
||||||
|
|
||||||
patches = ops useRailsExpress [
|
patches = ops useRailsExpress [
|
||||||
"${patchSet}/patches/ruby/2.1.0/railsexpress/01-current-2.1.1-fixes.patch"
|
"${patchSet}/patches/ruby/2.1.0/railsexpress/01-current-2.1.1-fixes.patch"
|
||||||
"${patchSet}/patches/ruby/2.1.0/railsexpress/02-zero-broken-tests.patch"
|
"${patchSet}/patches/ruby/2.1.0/railsexpress/02-zero-broken-tests.patch"
|
||||||
|
@ -51,12 +51,6 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
# Fix a build failure on systems with nix store optimisation.
|
|
||||||
# (The build process attempted to copy file a overwriting file b, where a and
|
|
||||||
# b are hard-linked, which results in cp returning a non-zero exit code.)
|
|
||||||
# https://github.com/NixOS/nixpkgs/issues/4266
|
|
||||||
postUnpack = ''rm "$sourceRoot/enc/unicode/name2ctype.h"'';
|
|
||||||
|
|
||||||
patches = ops useRailsExpress [
|
patches = ops useRailsExpress [
|
||||||
"${patchSet}/patches/ruby/2.1.0/railsexpress/01-zero-broken-tests.patch"
|
"${patchSet}/patches/ruby/2.1.0/railsexpress/01-zero-broken-tests.patch"
|
||||||
"${patchSet}/patches/ruby/2.1.0/railsexpress/02-improve-gc-stats.patch"
|
"${patchSet}/patches/ruby/2.1.0/railsexpress/02-improve-gc-stats.patch"
|
||||||
|
@ -51,12 +51,6 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
# Fix a build failure on systems with nix store optimisation.
|
|
||||||
# (The build process attempted to copy file a overwriting file b, where a and
|
|
||||||
# b are hard-linked, which results in cp returning a non-zero exit code.)
|
|
||||||
# https://github.com/NixOS/nixpkgs/issues/4266
|
|
||||||
postUnpack = ''rm "$sourceRoot/enc/unicode/name2ctype.h"'';
|
|
||||||
|
|
||||||
patches = ops useRailsExpress [
|
patches = ops useRailsExpress [
|
||||||
"${patchSet}/patches/ruby/2.1.2/railsexpress/01-zero-broken-tests.patch"
|
"${patchSet}/patches/ruby/2.1.2/railsexpress/01-zero-broken-tests.patch"
|
||||||
"${patchSet}/patches/ruby/2.1.2/railsexpress/02-improve-gc-stats.patch"
|
"${patchSet}/patches/ruby/2.1.2/railsexpress/02-improve-gc-stats.patch"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user