tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
Make most of Ruby Gem builds repeatable
Evgeny Egorochkin
12 years ago
76fbbb73
467608f6
+20
-1
3 changed files
expand all
collapse all
unified
split
pkgs
development
interpreters
ruby
bitperfect-rdoc.patch
gem.nix
ruby-19.nix
+13
pkgs/development/interpreters/ruby/bitperfect-rdoc.patch
reviewed
···
1
1
+
diff -r -u orig/lib/rdoc/generator/template/darkfish/filepage.rhtml new/lib/rdoc/generator/template/darkfish/filepage.rhtml
2
2
+
--- orig/lib/rdoc/generator/template/darkfish/filepage.rhtml
3
3
+
+++ new/lib/rdoc/generator/template/darkfish/filepage.rhtml
4
4
+
@@ -88,9 +88,6 @@
5
5
+
<body class="file file-popup">
6
6
+
<div id="metadata">
7
7
+
<dl>
8
8
+
- <dt class="modified-date">Last Modified</dt>
9
9
+
- <dd class="modified-date"><%= file.last_modified %></dd>
10
10
+
-
11
11
+
<% if file.requires %>
12
12
+
<dt class="requires">Requires</dt>
13
13
+
<dd class="requires">
+4
pkgs/development/interpreters/ruby/gem.nix
reviewed
···
39
39
[[ -e "$out/bin/$(basename $prog)" ]]
40
40
done
41
41
42
42
+
# looks like useless files which break build repeatability and consume space
43
43
+
rm $out/${ruby.gemPath}/doc/*/*/created.rid || true
44
44
+
rm $out/${ruby.gemPath}/gems/*/ext/*/mkmf.log || true
45
45
+
42
46
runHook postInstall
43
47
'';
44
48
+3
-1
pkgs/development/interpreters/ruby/ruby-19.nix
reviewed
···
38
38
++ (op (!cursesSupport && stdenv.isDarwin) readline);
39
39
40
40
enableParallelBuilding = true;
41
41
-
patches = [ ./ruby19-parallel-install.patch ];
41
41
+
patches = [ ./ruby19-parallel-install.patch
42
42
+
./bitperfect-rdoc.patch
43
43
+
];
42
44
43
45
configureFlags = [ "--enable-shared" "--enable-pthread" ]
44
46
# on darwin, we have /usr/include/tk.h -- so the configure script detects