mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
368f163caa
As a consequence of restrictions imposed by RFC 140 - Simple Package Paths [1] -, files related to a package should be confined on the package directory. Certainly this restriction does not apply to packages outside by-name hierarchy. Nonetheless, this is an interesting organization heuristics: things that affect Emacs should be confined inside Emacs directory. Besides a future migration, the "debuggability" of a framework is way more enhanced when we know how to find all its files. A similar task was done before, when RFC 140 was not a thging yet - namely, the migration of emacs-modes to elisp-packages [2]. [1] https://github.com/NixOS/rfcs/pull/140 [2] https://github.com/NixOS/nixpkgs/pull/123859
22 lines
941 B
Diff
22 lines
941 B
Diff
diff --git a/package-build.el b/package-build.el
|
|
index 29cdb61..c19be1b 100644
|
|
--- a/package-build.el
|
|
+++ b/package-build.el
|
|
@@ -923,7 +923,6 @@ DIRECTORY is a temporary directory that contains the directory
|
|
that is put in the tarball."
|
|
(let* ((name (oref rcp name))
|
|
(version (oref rcp version))
|
|
- (time (oref rcp time))
|
|
(tar (expand-file-name (concat name "-" version ".tar")
|
|
package-build-archive-dir))
|
|
(dir (concat name "-" version)))
|
|
@@ -939,7 +938,7 @@ that is put in the tarball."
|
|
;; prevent a reproducible tarball as described at
|
|
;; https://reproducible-builds.org/docs/archives.
|
|
"--sort=name"
|
|
- (format "--mtime=@%d" time)
|
|
+ "--mtime=@0"
|
|
"--owner=0" "--group=0" "--numeric-owner"
|
|
"--pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime"))
|
|
(when (and package-build-verbose noninteractive)
|