!LemuOOvbWqRXodtSsw:nixos.org

NixOS Reproducible Builds

544 Members
Report: https://reproducible.nixos.org Project progress: https://github.com/orgs/NixOS/projects/30124 Servers

Load older messages


SenderMessageTime
6 Oct 2021
@qyliss:fairydust.spaceAlyssa Rossryantm: it's because of export-subst in .gitattributes14:54:01
@qyliss:fairydust.spaceAlyssa Rossusing fetchgit instead might help?14:54:07
@qyliss:fairydust.spaceAlyssa Ross(remember to add a comment if so so it doesn't get converted back to fetchFromGitHub in the occasional treewides)14:54:40
@ryantm:matrix.orgryantmAhh, https://github.com/jbarlow83/OCRmyPDF/blob/master/.gitattributes14:55:05
@andi:kack.itandi-I think we've had that in the past. Not sure what the outcome was back then.14:55:20
@tomberek:matrix.orgtombereki'm surprised it has not been more prevelant14:56:28
@andi:kack.itandi-
#nixos-security.weechatlog
29923:2020-04-05 02:16:29       {^_^}   immerrr/lua-mode#165 (by Infinisil, 3 hours ago, open): Don't use non-deterministic %d with git's export-subst
43001:2020-12-15 23:32:30       qyliss  See "export-subst" in gitattributes(5)
14:56:56
@ryantm:matrix.orgryantm Alyssa Ross: Alternatively we could try to convince upstream to remove that line? 14:58:54
@qyliss:fairydust.spaceAlyssa Rossyeah of course, but presumably they added it for a reason14:59:20
@qyliss:fairydust.spaceAlyssa Rossryantm: would using the PyPI tarball be an option?15:00:17
@ryantm:matrix.orgryantmPossibly, I don't really know, I'm not the maintainer of this.15:01:02
@qyliss:fairydust.spaceAlyssa Rossthat's probably what I'd do, if possible15:01:33
@tomberek:matrix.orgtomberekor there's a way to tell git to not do that15:01:49
@qyliss:fairydust.spaceAlyssa Rosstomberek: well no, because it happens at tarball generation time, and github generates the tarballs15:02:18
@qyliss:fairydust.spaceAlyssa Rossthat's why doing fetchgit ourselves would fix it15:02:22
@tomberek:matrix.orgtomberekthis would be one of those cases for non-deterministic derivations,,, fetch impurely, clean up the impurity, then FOD to bring it back into the pure world. https://github.com/FRidh/nix/commit/9fc59606bac1f6f3e6e6d7a9f02b58a7df5762ed15:03:57
@qyliss:fairydust.spaceAlyssa Rossoh actually we probably can do that with what we have 15:04:37
@qyliss:fairydust.spaceAlyssa Rosswe can already do that in a single derivation15:05:00
@qyliss:fairydust.spaceAlyssa Rossryantm: can we just delete that file in fetchFromGitHub's postFetch?15:05:01
@j-k:matrix.orgj-kadding the wasm evaluation feature to open-policy-agent breaks reproducability. I have no idea what I'm looking at here:16:11:17
@j-k:matrix.orgj-kimage.png
Download image.png
16:11:21
@j-k:matrix.orgj-kLooks like this article might help actually https://blog.filippo.io/reproducing-go-binaries-byte-by-byte/16:12:41
@robert:funklause.dedotlambda joined the room.16:20:21
@robert:funklause.dedotlambda
In reply to @qyliss:fairydust.space
ryantm: can we just delete that file in fetchFromGitHub's postFetch?
I think we should, but do you mean for this package only or for fetchFromGithub in general?
16:24:51
@qyliss:fairydust.spaceAlyssa RossI mean for this package16:25:04
@qyliss:fairydust.spaceAlyssa Rossnot the gitattributes file, that wouldn't help16:25:11
@qyliss:fairydust.spaceAlyssa Rossthe one that it's doing export-subst on16:25:18
@robert:funklause.dedotlambda And you don't think it's worth always checking for that line in .gitattributes and deleting the respective files 16:28:05
@robert:funklause.dedotlambda* And you don't think it's worth always checking for that line in `.gitattributes` and deleting the respective files?16:28:11
@qyliss:fairydust.spaceAlyssa Rossno, I don't think that's a good idea17:30:25

Show newer messages


Back to Room ListRoom Version: 6