snabelen.no er en av mange uavhengige Mastodon-servere du kan bruke for å delta i det desentraliserte sosiale nettet.
Ein norsk heimstad for den desentraliserte mikroblogge-plattformen.

Administrert av:

Serverstatistikk:

388
aktive brukere

#nix

30 innlegg25 deltakere0 innlegg i dag

A new module is available: 'programs.satty' Satty is a screenshot annotation tool, inspired by Swappy and Flameshot. It can easily integrate with your wlroots based screenshot tool and comes with a simple and functional UI for post-processing your screenshots.
#NixOS #Nix #HomeManager

Clangd LSP support for C/C++ on NixOS?

lemmy.world/post/34656086

lemmy.worldClangd LSP support for C/C++ on NixOS? - Lemmy.WorldI’m working on switching over to NixOS on my desktop and one of the last things I haven’t got fully working is my neovim config. My LSP’s are able to start, and all of them work fine except for clangd. For some reason, it can’t find C/C++ header files for any installed libraries. I have all of the LSPs themselves installed through Mason in Neovim, and I have programs.nix-ld.enable = true enabled so they can be run correctly. screenshot showing 'file not found' error on '#include <fcntl.h>' [https://lemmy.world/pictrs/image/09ea92ae-a697-4701-b914-b28ce0fb604d.png] screenshot showing 'file not found' error on '#include <SDL2/SDL2.h>' [https://lemmy.world/pictrs/image/1194c812-10b4-4208-a912-a88bfec72534.png] Here is the shell.nix file I’m using for this project: { pkgs ? import <nixpkgs> {} }: pkgs.mkShell.override { stdenv = pkgs.gccStdenv; } { nativeBuildInputs = with pkgs.buildPackages; [ glibc libgcc clang-tools libclang SDL2 SDL2_image SDL2_sound ]; CPATH = pkgs.lib.makeSearchPathOutput "dev" "include" pkgs.glibc pkgs.SDL2 pkgs.SDL2_Image pkgs.SDL2_sound; } Is there something extra I need to do to get clangd to find the C headers being used by the project? when I actually run gcc it compiles fine, it just can’t seem to find them correctly in Neovim Edit: Forgot to mention that I’m using this shell with direnv and launching nvim directly from the same shell that I’m compiling from

2 days 14 hours 36 minutes & 29 seconds of wall time trying to compile the linux kernel inside qemu-system-aarch64 on x86_64 and it FAILS. and because it's #nix starting from the top will do the whole thing all over again.

guess i should have seen this coming lmao, it was a very bad idea, really hoped it would work out tho..

As maintainer of nix-output-monitor I have an important public announcement:

"AaaAAAAaaaAAAAAAaaAAAaaah!"

Reasoning: At this point #Nix, #Lix and #DeterminateNix have three different json log formats.

I think it is still possible to support them all in one parser at this point. But I already have to watch all three sources for changes …

A new module is available: 'programs.hyprshot' Hyprshot is an utility to easily take screenshot in Hyprland using your mouse. It allows taking screenshots of windows, regions and monitors which are saved to a folder of your choosing and copied to your clipboard.
#NixOS #Nix #HomeManager

A new module is available: 'services.protonmail-bridge'. ProtonMail Bridge is a desktop application that runs in the background, encrypting and decrypting messages as they enter and leave your computer. It lets you add your ProtonMail account to your favorite email client via IMAP/SMTP by creating a local email server on your computer.
#NixOS #Nix #HomeManager

A new module is available: 'programs.claude-code'. Claude Code is Anthropic's official CLI for Claude, providing an interactive command-line interface for AI-assisted development. The module supports: - Configuration through 'programs.claude-code.settings' - Custom agents via 'programs.claude-code.agents' - Custom commands via 'programs.claude-code.commands' - MCP (Model Context Protocol) servers via 'programs.claude-code.mcpServers' - Package installation control via 'programs.claude-code.package'
#NixOS #Nix #HomeManager