nixd fails to build with lix #45
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Trying to use nixd with lix fails to build.
Build log
nixt: meson.build:1:0: ERROR: Compiler g++ cannot compile programs.
Reproduction
Save the following file then run
nixos-rebuild build --flake .#default
flake.nix
oh i have a strong suspicion why that is and exactly how to fix it (just add it to overridelist_upstream; you could even pr it if you want), but i really am starting to think nixpkgs should have a cppnix alias for nix for anything linking to cppnix... it's really silly that we have to find out about every single one of these.
however, may i suggest nil :p (i know it doesn't do evaluation, but I've never really had the evaluation work anyway)
@jade Thanks, that fixed this issue.
A similar issue is nixos-option getting upgraded to a newer nix and it doesnt build with lix, but using the CLI rather than the C "API" will fix that. But I'm curious why it doesn't work out of the box as it is in overridelist_upstream.This was recently reported in lix-project/lix#580.
I was using rnix and nil for a long time and recently switched to nixd as I heard it had some big improvements and I also had some minor issues with nil, but may switch back to it in the future :)