| 26 May 2023 |
| dickdaley joined the room. | 14:45:07 |
| 27 May 2023 |
| NixOS Moderation Botchanged room power levels. | 16:41:08 |
| 1 Jun 2023 |
| raphi changed their display name from raphi to raphi (element unread channel fix when). | 13:03:10 |
| 4 Jun 2023 |
| Federico Damián Schonborn changed their profile picture. | 17:40:24 |
| 8 Jun 2023 |
mdarocha | hey, can somebody take a look at https://github.com/NixOS/nixpkgs/pull/233422 ? it's been sitting for a while | 14:16:46 |
| 13 Jun 2023 |
| Federico Damián Schonborn changed their profile picture. | 20:56:01 |
| 14 Jun 2023 |
| raphi changed their display name from raphi (element unread channel fix when) to raphi. | 07:03:09 |
| hexa left the room. | 16:17:33 |
| 23 Jun 2023 |
mdarocha | https://github.com/NixOS/nixpkgs/pull/239360
https://discourse.nixos.org/t/creating-a-net-maintainers-team/29527 | 12:40:04 |
| 25 Jun 2023 |
| oren joined the room. | 02:41:26 |
| 1 Jul 2023 |
huantian | is there an updateScript I can use for buildDotnetModule that'll update nugetDeps? or do I have to write my own script for that | 20:59:05 |
huantian | perhaps this is something that should be added to nix-update? | 20:59:55 |
mdarocha | unfortunately, currently you have to write a separate update script for each package | 23:09:01 |
mdarocha | making a common one is on my todo list though | 23:09:55 |
| 6 Jul 2023 |
huantian | It seems like it would be relatively easy to add to something like nix-update, all you'd have to do is run the passthru script after updating | 00:51:46 |
| 10 Jul 2023 |
| achnazoor joined the room. | 09:07:56 |
| 19 Jul 2023 |
| Marie left the room. | 22:18:57 |
| 24 Jul 2023 |
| nry_ joined the room. | 17:40:14 |
| 25 Jul 2023 |
| Federico Damián Schonborn changed their profile picture. | 01:57:04 |
| 27 Jul 2023 |
| ribosomerocker joined the room. | 03:03:06 |
| 30 Jul 2023 |
| Corin (CWStra) joined the room. | 20:09:42 |
Corin (CWStra) | I've been having trouble getting dotnet programs to run when they rely on DllImport attributes. Here's a simple github repo that demonstrates the problem: https://github.com/cwstra/nixos-dll-example/tree/example
On my nixos machine, running nix-shell run "dotnet run" in there spits out:
"Error loading unmanaged library from path: <snip>/nixos-dll-example/bin/Debug/net7.0/runtimes/linux-x64/native/libassimp.so".
From the path, I take it that it's not trying to import a globally-installed library (though I did add it to the nix-shell just in case). Does anyone have insight as to if/how I could set up an environment where I could work on projects with these dependencies?
| 21:47:46 |
| 3 Aug 2023 |
raphi | In reply to @cwstra:matrix.org
I've been having trouble getting dotnet programs to run when they rely on DllImport attributes. Here's a simple github repo that demonstrates the problem: https://github.com/cwstra/nixos-dll-example/tree/example
On my nixos machine, running nix-shell run "dotnet run" in there spits out:
"Error loading unmanaged library from path: <snip>/nixos-dll-example/bin/Debug/net7.0/runtimes/linux-x64/native/libassimp.so".
From the path, I take it that it's not trying to import a globally-installed library (though I did add it to the nix-shell just in case). Does anyone have insight as to if/how I could set up an environment where I could work on projects with these dependencies?
$ ldd bin/Debug/net7.0/runtimes/linux-x64/native/libassimp.so
linux-vdso.so.1 (0x00007ffe88bd4000)
libz.so.1 => not found
librt.so.1 => /nix/store/46m4xx889wlhsdj72j38fnlyyvvvvbyb-glibc-2.37-8/lib/librt.so.1 (0x00007fd439b52000)
libstdc++.so.6 => not found
libm.so.6 => /nix/store/46m4xx889wlhsdj72j38fnlyyvvvvbyb-glibc-2.37-8/lib/libm.so.6 (0x00007fd439a72000)
libgcc_s.so.1 => /nix/store/jd99cyc0251p0i5y69w8mqjcai8mcq7h-xgcc-12.2.0-libgcc/lib/libgcc_s.so.1 (0x00007fd438bdf000)
libc.so.6 => /nix/store/46m4xx889wlhsdj72j38fnlyyvvvvbyb-glibc-2.37-8/lib/libc.so.6 (0x00007fd4389f9000)
/nix/store/46m4xx889wlhsdj72j38fnlyyvvvvbyb-glibc-2.37-8/lib64/ld-linux-x86-64.so.2 (0x00007fd439b59000)
The assimp native library depends on libz and libstdc++. Add this to the shellHook:
export LD_LIBRARY_PATH=${pkgs.lib.makeLibraryPath [ pkgs.stdenv.cc.libc pkgs.zlib ]}:$LD_LIBRARY_PATH
| 08:59:53 |
| 5 Aug 2023 |
Corin (CWStra) | I thought I was missing a trick. Thanks for the help! | 21:11:02 |
| 13 Aug 2023 |
| nevoyu joined the room. | 01:25:16 |
| Yarek T joined the room. | 16:54:23 |
Yarek T | Hiya. I'm at a job where we use a lot of dotnet, happy to help with issues | 16:59:06 |
Yarek T | In reply to @raphi:tapesoftware.net
$ ldd bin/Debug/net7.0/runtimes/linux-x64/native/libassimp.so
linux-vdso.so.1 (0x00007ffe88bd4000)
libz.so.1 => not found
librt.so.1 => /nix/store/46m4xx889wlhsdj72j38fnlyyvvvvbyb-glibc-2.37-8/lib/librt.so.1 (0x00007fd439b52000)
libstdc++.so.6 => not found
libm.so.6 => /nix/store/46m4xx889wlhsdj72j38fnlyyvvvvbyb-glibc-2.37-8/lib/libm.so.6 (0x00007fd439a72000)
libgcc_s.so.1 => /nix/store/jd99cyc0251p0i5y69w8mqjcai8mcq7h-xgcc-12.2.0-libgcc/lib/libgcc_s.so.1 (0x00007fd438bdf000)
libc.so.6 => /nix/store/46m4xx889wlhsdj72j38fnlyyvvvvbyb-glibc-2.37-8/lib/libc.so.6 (0x00007fd4389f9000)
/nix/store/46m4xx889wlhsdj72j38fnlyyvvvvbyb-glibc-2.37-8/lib64/ld-linux-x86-64.so.2 (0x00007fd439b59000)
The assimp native library depends on libz and libstdc++. Add this to the shellHook:
export LD_LIBRARY_PATH=${pkgs.lib.makeLibraryPath [ pkgs.stdenv.cc.libc pkgs.zlib ]}:$LD_LIBRARY_PATH
Sweet, this actually fixes my issue with missing sqlite lib. something custom that we have to ship. Nice co-incidence, I was dreading having to deal with this on monday. Thanks! | 20:19:25 |
Yarek T | Just out of curiosity, is it possible to convert this addition to be system wide? using environment.sessionVariables sort of doesn't look right | 20:21:56 |
Yarek T | * Just out of curiosity, is it possible to convert this addition to be system wide? using environment.sessionVariables sort of doesn't look right. I have to compile and run a bunch of different dotnet projects, this lib is needed a lot. Wouldn't mind having it available system wide | 20:25:32 |