!VRULIdgoKmKPzJZzjj:nixos.org

Nix Package Manager development

860 Members
For people hacking on Nix: https://github.com/NixOS/nix Nix maintainers can be reached here.185 Servers

Load older messages


SenderMessageTime
1 Nov 2025
@fzakaria:one.ems.hostfzakariaStill says scheduled to be built ? O.o02:56:52
@lovesegfault:matrix.orglovesegfaultimage.png
Download image.png
15:09:15
@lovesegfault:matrix.orglovesegfault We have our first Coverity scan! (h/t Mic92 for all the help) 15:09:19
@joerg:thalheim.ioMic92I was running in on macOS this time, next scan we may want to run on Linux?15:14:18
@lovesegfault:matrix.orglovesegfaultAhhh15:14:34
@joerg:thalheim.ioMic92Assuming there is some deadcode at the moment.15:14:34
@lovesegfault:matrix.orglovesegfaultyes, indeed15:14:36
@lovesegfault:matrix.orglovesegfaultDo you have steps for how you did it?15:14:51
@lovesegfault:matrix.orglovesegfaultI can submit a build right now and we can see what happens in a few days :P 15:15:07
@joerg:thalheim.ioMic92
  1. mounted the installer dmg
  2. unpacked the tar from the self-extracting installer
  3. untar
  4. /private/tmp/codcov2/bin/cov-configure --clang
  5. /private/tmp/codcov2/bin/cov-build --dir cov-int ninja -C build
  6. creating a tar. The tar should look like this:
    nix-util-env % tar -tvf ./cov-int.tgz
    drwxr-xr-x joerg/staff 0 2025-10-31 13:36 cov-int/
    -rw-r--r-- joerg/staff 191 2025-10-31 13:36 cov-int/security-da-log.txt
    -rw-r--r-- joerg/staff 21 2025-10-31 13:36 cov-int/build-cwd.txt
    -rw-r--r-- joerg/staff 398 2025-10-31 13:36 cov-int/security-da-timings.txt
    drwxr-xr-x joerg/staff 0 2025-10-31 13:36 cov-int/output/

coverity is looking for a cov-int directory with all the files from the directory and will fail very late if it doesn't match up.

15:21:37
@joerg:thalheim.ioMic92 *
  1. mounted the installer dmg
  2. extraced the tar from the self-extracting installer
  3. untar
  4. /private/tmp/codcov2/bin/cov-configure --clang
  5. /private/tmp/codcov2/bin/cov-build --dir cov-int ninja -C build
  6. creating a tar. The tar should look like this:
    nix-util-env % tar -tvf ./cov-int.tgz
    drwxr-xr-x joerg/staff 0 2025-10-31 13:36 cov-int/
    -rw-r--r-- joerg/staff 191 2025-10-31 13:36 cov-int/security-da-log.txt
    -rw-r--r-- joerg/staff 21 2025-10-31 13:36 cov-int/build-cwd.txt
    -rw-r--r-- joerg/staff 398 2025-10-31 13:36 cov-int/security-da-timings.txt
    drwxr-xr-x joerg/staff 0 2025-10-31 13:36 cov-int/output/

coverity is looking for a cov-int directory with all the files from the directory and will fail very late if it doesn't match up.

15:22:02
@joerg:thalheim.ioMic92 *
  1. mounted the installer dmg
  2. extraced the tar from the self-extracting installer
  3. untar the coverity toolchain
  4. /private/tmp/codcov2/bin/cov-configure --clang
  5. /private/tmp/codcov2/bin/cov-build --dir cov-int ninja -C build
  6. creating a tar. The tar should look like this:
    nix-util-env % tar -tvf ./cov-int.tgz
    drwxr-xr-x joerg/staff 0 2025-10-31 13:36 cov-int/
    -rw-r--r-- joerg/staff 191 2025-10-31 13:36 cov-int/security-da-log.txt
    -rw-r--r-- joerg/staff 21 2025-10-31 13:36 cov-int/build-cwd.txt
    -rw-r--r-- joerg/staff 398 2025-10-31 13:36 cov-int/security-da-timings.txt
    drwxr-xr-x joerg/staff 0 2025-10-31 13:36 cov-int/output/

coverity is looking for a cov-int directory with all the files from the directory and will fail very late if it doesn't match up.

15:22:13
@lovesegfault:matrix.orglovesegfault This inside a nix develop shell? 15:23:22
@joerg:thalheim.ioMic92yes.15:23:33
@joerg:thalheim.ioMic92I did run meson configure before.15:23:40
* @lovesegfault:matrix.orglovesegfault nods15:24:51
@lovesegfault:matrix.orglovesegfaultlet me try from Linux15:24:58
@lovesegfault:matrix.orglovesegfaultit's going!15:49:54
@lovesegfault:matrix.orglovesegfaultLast Build Status: In-queue. Your build is in the queue to be analyzed. There are 99 builds ahead of it.16:12:51
@lovesegfault:matrix.orglovesegfaultFrom past experience, it will take a long while :P 16:13:11
@Ericson2314:matrix.orgJohn Ericson Sergei Zimmerman (xokdvium): do you think instead of doing <"....."> we can use custom string literals? 19:33:01
@Ericson2314:matrix.orgJohn Ericsonthat seems a little bit less stressful on the templating :)19:33:16
@Ericson2314:matrix.orgJohn Ericsonhmm, seems to be working!19:47:38
@Ericson2314:matrix.orgJohn Ericson ah it was because auto not auto & 20:00:02
@Ericson2314:matrix.orgJohn EricsonOK got it!20:15:42
@Ericson2314:matrix.orgJohn Ericson and I found that deleting the destructor will make auto instead of auto & a compile failure, yay! 20:16:03
@dramforever:matrix.orgdramforeveri've never been quite sure - what's the support status of statically linked nix? it's something i've found genuinely incredibly convenient... but the only i know to way to download one is to dig from hydra which seems not ideal20:50:57
@dramforever:matrix.orgdramforever* i've never been quite sure - what's the support status of statically linked nix? it's something i've found genuinely incredibly convenient... but the only way i know to download one is to dig from hydra which seems not ideal20:51:11
@dramforever:matrix.orgdramforever curl -o nix https://hydra.nixos.org/job/nix/master/buildStatic.nix-cli.x86_64-linux/latest/download/1 feels like something i should not be "shipping to prod" so to speak 20:51:55
@emilazy:matrix.orgemilyit regularly fails to build on Hydra fwiw20:52:00

Show newer messages


Back to Room ListRoom Version: 6