!LemuOOvbWqRXodtSsw:nixos.org

NixOS Reproducible Builds

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

Load older messages


SenderMessageTime
20 Jan 2023
@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.nl@rick:matrix.ciphernetics.nlThis one, I guess: https://news.ycombinator.com/item?id=3449037618:28:30
@linus:schreibt.jetzt@linus:schreibt.jetztyou got me :p18:29:44
@raboof:matrix.orgraboofhttps://arnout.engelen.eu/nixos-iso-gnome-r13y/ / https://arnout.engelen.eu/nixos-iso-minimal-r13y/ are more recent (would be happy to work together on r13y.com)18:31:37
24 Jan 2023
@raboof:matrix.orgraboofhttps://github.com/NixOS/nixos-org-configurations/pull/23412:02:46
25 Jan 2023
@rnhmjoj:maxwell.ydns.eu@rnhmjoj:maxwell.ydns.eu
In reply to @raboof:matrix.org
https://arnout.engelen.eu/nixos-iso-gnome-r13y/ / https://arnout.engelen.eu/nixos-iso-minimal-r13y/ are more recent (would be happy to work together on r13y.com)
wow that's a lot of haskell libraries. I had forgotten that GHC object files are not reproducible. are there any recent developments about this?
09:59:02
@rnhmjoj:maxwell.ydns.eu@rnhmjoj:maxwell.ydns.eu* wow, that's a lot of haskell libraries. I had forgotten that GHC object files are not reproducible. are there any recent developments about this?09:59:05
@atemu12:matrix.orgatemu12Perhaps you could ask nh2, they're into GHC stuff10:00:03
@raboof:matrix.orgraboofI didn't notice much activity in https://github.com/NixOS/nixpkgs/issues/151347 / https://gitlab.haskell.org/ghc/ghc/-/issues/1293510:06:54
@raboof:matrix.orgraboofthough it seems it doesn't necessarily impact all haskell builds? there's quite some green ones in https://reproducible.archlinux.org/10:09:53
@raboof:matrix.orgraboof quick experiment: haskellPackages.void seems reproducible for us as well 10:10:58
@rnhmjoj:maxwell.ydns.eu@rnhmjoj:maxwell.ydns.eucould it be related to parallel builds/optimisation level?10:11:21
@raboof:matrix.orgraboofyeah single threaded builds seem more reliable but also quite a price to pay (https://github.com/NixOS/nixpkgs/issues/151347#issuecomment-997817696, https://gitlab.haskell.org/ghc/ghc/-/issues/12935#note_373865)10:13:26

Show newer messages


Back to Room ListRoom Version: 6