!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

886 Members
For people hacking on the Nix package manager itself190 Servers

Load older messages


SenderMessageTime
1 Nov 2025
@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
@dramforever:matrix.orgdramforeveron nix hydra or nixpkgs hydra?20:52:23
@emilazy:matrix.orgemilylatter, but if they differ I assume only due to former's Nixpkgs lagging behind20:53:09
@dramforever:matrix.orgdramforeverhmm... that's not really worse than the nixos.org/nix/install installer, right?20:54:02
@emilazy:matrix.orgemilyno, I'm just speaking to my impression of the static build's maintenance state20:56:20
@dramforever:matrix.orgdramforeverright, so i guess at least for now it's not a great thing to be shipping to users20:57:08
@emilazy:matrix.orgemily the failures have not always been due to regressions in other packages IIRC, but it's been a while since I checked. just know my last nixpkgs-review failed to build it 20:57:18
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @dramforever:matrix.org
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 ideal
Generally it’s the dependencies that are broken in nixpkgs. Nix’s jobset from a release branch (e.g. 2.32-maintenance) is a well supported as the regular dynamically linked nix.
21:58:59
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Since nix’s nixpkgs flake input is from a stable release for the better part of the nixpkgs release cycle it tends to get fixed.21:59:52
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @dramforever:matrix.org
right, so i guess at least for now it's not a great thing to be shipping to users
I don’t understand how you get that conclusion tho. It’s not nix that is poorly maintained, but the dependencies that spontaneously explode in nixpkgs. As always though it’s not a great idea to use the ‘masterjobset for anything other than dogfooding. Using anything from*-maintenance` is perfectly fine and supported
22:02:42
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @dramforever:matrix.org
right, so i guess at least for now it's not a great thing to be shipping to users
* I don’t understand how you get that conclusion tho. It’s not nix that is poorly maintained, but the dependencies that spontaneously explode in nixpkgs. As always though it’s not a great idea to use the master jobset for anything other than dogfooding. Using anything from*-maintenance` is perfectly fine and supported
22:02:59
@emilazy:matrix.orgemilyit's definitely not just failing deps, e.g. https://hydra.nixos.org/job/nixpkgs/trunk/nixStatic.aarch64-darwin/all and https://hydra.nixos.org/job/nixpkgs/trunk/nixStatic.x86_64-linux/all both have direct failures that persisted for quite some time22:12:20

Show newer messages


Back to Room ListRoom Version: 6