!LemuOOvbWqRXodtSsw:nixos.org

NixOS Reproducible Builds

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

You have reached the beginning of time (for this room).


SenderMessageTime
19 Jan 2023
@salfurium:matrix.orgSalfurium joined the room.22:32:21
20 Jan 2023
@tpw_rules:matrix.orgtpw_ruleshttps://github.com/NixOS/nixpkgs/blob/7cf8f9bcee843560e454d66392c3e28ad850c893/nixos/modules/virtualisation/qemu-vm.nix#L228 this is not at all reproducible despite wanting to be. e.g. how the disk cache is flushed and systemd writing random seeds to the image05:55:29
@tpw_rules:matrix.orgtpw_rules(mostly putting it here so i don't forget about it, don't know when i'll have time to address it if someone else wishes to)05:56:08
@rick:matrix.ciphernetics.nlRick (Mindavi)I suggest opening an issue on nixpkgs to keep track of long-term things :)06:58:10
@atemu12:matrix.orgatemu12I also don't think that's a very high priority, is it? It's the VM for tests, it doesn't need to be bit-perfect.08:43:26
@raboof:matrix.orgraboof
In reply to @raboof:matrix.org
ran the iso-gnome report again: https://arnout.engelen.eu/nixos-iso-gnome-r13y/ . nice batch of things to look into. (note that this is the build closure, so it contains not only the things that are in the gnome iso, but also the things that are needed to build the gnome iso)
hmm, a lot of them are duplicates of https://github.com/NixOS/nixpkgs/issues/151347 . I wonder if there's any easy way to convert derivation paths back to nixpkgs attribute paths (for those that have one), should probably be doable
11:59:38
@raboof:matrix.orgraboof
In reply to @raboof:matrix.org
ran the iso-gnome report again: https://arnout.engelen.eu/nixos-iso-gnome-r13y/ . nice batch of things to look into. (note that this is the build closure, so it contains not only the things that are in the gnome iso, but also the things that are needed to build the gnome iso)
* hmm, a lot of them are instances of https://github.com/NixOS/nixpkgs/issues/151347 . I wonder if there's any easy way to convert derivation paths back to nixpkgs attribute paths (for those that have one), should probably be doable
11:59:59
@atemu12:matrix.orgatemu12 raboof: Not that I'm aware of. 12:41:06
@atemu12:matrix.orgatemu12You could take a look at the drvs and filter out everything that has GHC in it/uses it to compile12:41:31
@trofi:matrix.org@trofi:matrix.org If you have a nixpkgs tree it should be easy. nix-env -qaP will print you both .drv and attribute. 13:11:54
@raboof:matrix.orgraboof Neat! Had to add --drv-path to get the full path. Unfortunately it doesn't recurse into haskellPackages... 13:53:36
@trofi:matrix.org@trofi:matrix.org yeah, to fix the recursion you need to pass packages-config.nix that exposes hidden attributes: pkgs/top-level/make-tarball.nix: nix-env -f . -I nixpkgs=$src -qa --meta --json --arg config 'import ${./packages-config.nix}' "''${opts[@]}" >> tmp 13:59:18
@trofi:matrix.org@trofi:matrix.orghttps://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/make-tarball.nix#L6714:00:04
@trofi:matrix.org@trofi:matrix.org I use a similar hack locally to map .drv files back to attribute names and to repology package names: https://github.com/trofi/nix-olde/ 14:01:19
@sandro:supersandro.deSandro 🐧
In reply to @trofi:matrix.org
I use a similar hack locally to map .drv files back to attribute names and to repology package names: https://github.com/trofi/nix-olde/
btw there is not nix code in that repo. Unsettling a bit.
14:06:21
@raboof:matrix.orgraboof trofi: makes sense, thanks 14:07:49
@trofi:matrix.org@trofi:matrix.org I used --arg config 'import <nixpkgs/pkgs/top-level/packages-config.nix>'. Might work for you as is. 14:08:35
@trofi:matrix.org@trofi:matrix.org
In reply to @sandro:supersandro.de
btw there is not nix code in that repo. Unsettling a bit.
Heh. I'll probably add a Cargo.lock file soon and will add simple .nix derivation for it. I don't really know rust ecosystem and I'm afraid it will get stale (will needs bots to update it and so on).
14:10:18
@raboof:matrix.orgraboof
In reply to @trofi:matrix.org
I used --arg config 'import <nixpkgs/pkgs/top-level/packages-config.nix>'. Might work for you as is.
error: attribute 'nodePackages_latest' missing - I might not have nix-env set up correctly though, I never use it
14:11:25
@trofi:matrix.org@trofi:matrix.org I think -I nixpkgs=$src (as a path to the nixpkgs tree) should do it. 14:12:18
@raboof:matrix.orgraboofdoesn't seem like it...14:18:01
@sandro:supersandro.deSandro 🐧
In reply to @trofi:matrix.org
Heh. I'll probably add a Cargo.lock file soon and will add simple .nix derivation for it. I don't really know rust ecosystem and I'm afraid it will get stale (will needs bots to update it and so on).
dependabot should be able to help you with that
14:22:43
21 Jan 2023
@markus:in.tum.deTobias Markus joined the room.00:45:34
23 Jan 2023
@tassilo.tanneberger:matrix.ifsr.de@tassilo.tanneberger:matrix.ifsr.de left the room.16:10:51
@linus:schreibt.jetzt@linus:schreibt.jetzt grahamc (he/him): do you think you could update r13y.com, or maybe let someone else take it over? I'd like to link it in a discussion on Nix and reproducibility, but it's currently 6 months old ^^ 18:23:45
@rick:matrix.ciphernetics.nlRick (Mindavi)This one, I guess: https://news.ycombinator.com/item?id=3449037618:28:30
@linus:schreibt.jetzt@linus:schreibt.jetztyou got me :p18:29:44

Show newer messages


Back to Room ListRoom Version: 6