!LemuOOvbWqRXodtSsw:nixos.org

NixOS Reproducible Builds

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

Load older messages


SenderMessageTime
28 Oct 2023
@r522:matrix.org@r522:matrix.org it has been split up 12:40:13
@r522:matrix.org@r522:matrix.orgsee the bottom12:40:18
@r522:matrix.org@r522:matrix.org man nix-store-realise 12:40:25
@raboof:matrix.orgraboof man nix-store-realise - but indeed hard to follow 12:40:33
@drupol:matrix.orgPol man nix-store-check doesn't exist either 12:40:51
@drupol:matrix.orgPolYeah now I got the doc12:41:11
@linus:schreibt.jetzt@linus:schreibt.jetzt
In reply to @drupol:matrix.org
man nix-store-check doesn't exist either
that's because --check isn't an operation
12:41:27
@drupol:matrix.orgPolTrue12:41:33
@linus:schreibt.jetzt@linus:schreibt.jetztdefinitely not the clearest arrangement...12:41:34
@drupol:matrix.orgPol Do you think using this CLI is OK ? nix-build /home/pol/Code/NixOS/nixpkgs -A wireplumber.doc --check --keep-failed -v 12:44:06
@drupol:matrix.orgPol I made modification to wireplumber and I want to see if those changes are reproducible. 12:44:25
@drupol:matrix.orgPol (I basically changed the src to somewhere local) 12:44:35
@drupol:matrix.orgPol * (I basically changed the src to somewhere in local) 12:44:41
@raboof:matrix.orgraboofyeah looks like it should to me12:44:56
@drupol:matrix.orgPolWhen I do that, it says:12:44:57
@drupol:matrix.orgPol
this derivation will be built:
  /nix/store/df8slazq6r76c6lwjmvw2j6j2cbpdbk3-wireplumber-0.4.15.drv
error: some outputs of '/nix/store/df8slazq6r76c6lwjmvw2j6j2cbpdbk3-wireplumber-0.4.15.drv' are not valid, so checking is not possible
12:45:00
@drupol:matrix.orgPol But when I use: nix-build '<nixpkgs>' -A wireplumber.doc --check --keep-failed, it builds it and the message is different. 12:45:25
@raboof:matrix.orgraboof ah, then first do a regular nix-build /home/pol/Code/NixOS/nixpkgs -A wireplumber.doc to build the reference 12:45:26
@drupol:matrix.orgPolOOOh right... 12:45:51
@drupol:matrix.orgPolThanks :)12:47:04
@raboof:matrix.orgraboofhttps://github.com/NixOS/nixpkgs/pull/263961 :)12:50:37
@r522:matrix.org@r522:matrix.org also, maybe --check should tell you this too? 12:51:11
@drupol:matrix.orgPol raboof: We could also explain a little bit how to compare two different builds. I'm trying to find it by myself here, but I have some troubles. 12:53:04
@raboof:matrix.orgraboofsure... did you tru 12:53:53
@drupol:matrix.orgPol So first step: nix-build -A <package>
Second step: same command with --check --keep-failed
Thirst step: What are the things to compare here?
12:53:58
@raboof:matrix.orgraboof * sure... did you try 'diffoscope <one> <other>' yet?12:54:03
@raboof:matrix.orgraboofthe end of the second step should say something like "A and B differ", which you can then diffoscope12:54:30
@drupol:matrix.orgPolOh.12:54:35
@raboof:matrix.orgraboofcould probably made clearer as well :)12:55:06
@drupol:matrix.orgPolExcellent. So easy when it's explained well12:55:50

Show newer messages


Back to Room ListRoom Version: 6