!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

705 Members
Rust164 Servers

Load older messages


SenderMessageTime
5 Jul 2022
@deep6:matrix.orgdeep6negative :(08:00:08
@kraem:ne.bul.aekraem try putting it in nativeBuildInputs: nativeBuildInputs = with pkgs; [ pkgconfig ]; 08:03:22
@deep6:matrix.orgdeep6 still the same "pkg-config" "--libs" "--cflags" "glib-2.0" "glib-2.0 >= 2.42"did not exit successfully: exit status: 1 --- stderr Package glib-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containingglib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found
08:05:47
@deep6:matrix.orgdeep6https://pastebin.com/VHkQk2G608:07:02
@deep6:matrix.orgdeep6is my code08:07:02
@kraem:ne.bul.aekraemthat's not the same error though? how are you including glib?08:07:04
@kraem:ne.bul.aekraem you're not using glib, only taking it as an argument. you need to use it in buildInputs / nativeBuildInputs 08:08:14
@deep6:matrix.orgdeep6oh08:08:37
@deep6:matrix.orgdeep6you're right, sorry I'm tired...1 am here08:09:06
@deep6:matrix.orgdeep6I'm still a rookie with nix08:09:37
@deep6:matrix.orgdeep6is it as simple as adding glib to where I have only pkgconfig as in [ glib pkgconfig]08:12:23
@kraem:ne.bul.aekraem np :) i think you want to do buildInputs = with pkgs; [ glib ]; nativeBuildInputs = with pkgs; [ pkgconfig ] 08:13:48
@deep6:matrix.orgdeep6is it now just a matter of iterating through and adding the dependencies as they come up to buildInputs?08:20:11
@kraem:ne.bul.aekraemyeah, pretty much08:23:27
@deep6:matrix.orgdeep6any idea what the gdk 3.0 package is called, tried gdk, gdk3, gdk30 and searched using search.nixos no luck08:25:35
@deep6:matrix.orgdeep6or is it not packaged... you'd think it would be if gdk-pixbuf is...08:26:39
@linus:schreibt.jetztLinux HackermanIt's part of gtk iirc08:26:52
@deep6:matrix.orgdeep6thanks, I'll give it a go08:28:02
@deep6:matrix.orgdeep6managed to get this packaged up!08:33:58
@deep6:matrix.orgdeep6 thanks Linux Hackerman 08:33:58
@deep6:matrix.orgdeep6 oh and thanks as well kraem 08:42:03
@deep6:matrix.orgdeep6sorry forgot you there earlier :)08:42:06
@akadude:matrix.orgakadude left the room.11:59:35
6 Jul 2022
@pnotequalnp:matrix.orgkevin joined the room.00:15:05
@pnotequalnp:matrix.orgkevinWhat's the recommended way to package crates currently? I've used like 6 different things over the last two years lol00:20:46
@artturin:matrix.orgArtturin joined the room.18:06:52
8 Jul 2022
@biohazard6743:matrix.orgbiohazard6743 joined the room.18:06:11
@darichey:matrix.orgDavid joined the room.20:01:07
12 Jul 2022
@janne.hess:helsinki-systems.deJanne Heß joined the room.07:20:08
@janne.hess:helsinki-systems.deJanne Heß left the room.07:21:12

Show newer messages


Back to Room ListRoom Version: 6