27 Sep 2024 |
diniamo | yep it does: https://github.com/fish-shell/fish-shell/blob/master/CMakeLists.txt#L56-L62 | 11:45:54 |
K900 | Then you can use fetchCargoDeps | 11:46:26 |
diniamo | Um how exactly? | 11:47:13 |
K900 | Look at e.g. some things in kdePackages for examples | 11:47:35 |
K900 | Like angelfish | 11:47:40 |
diniamo | Thanks, I'll take a look | 11:48:02 |
| loudgolem changed their display name from phanirithvij to loudgolem. | 14:38:03 |
| loudgolem changed their profile picture. | 14:38:30 |
diniamo | - fetchCargoDeps doesn't exist
- Assuming you meant fetchCargoTarball, that fails with an error saying it doesn't support git deps
- importCargoLock fails with the same error as if I didnt do anything (something about cargo not being able to create a directory in some random place)
| 17:42:16 |
| pbsds joined the room. | 19:50:08 |
30 Sep 2024 |
| zimward joined the room. | 00:54:03 |
| Humaid changed their display name from Humaid Alqasimi to Humaid. | 02:56:34 |
Gaétan Lepage | Redacted or Malformed Event | 06:26:36 |
Andy Hamon | Redacted or Malformed Event | 20:11:26 |
1 Oct 2024 |
| -_o joined the room. | 21:02:29 |
4 Oct 2024 |
| terrorjack joined the room. | 17:41:14 |
| @ryoschin:matrix.org left the room. | 22:04:22 |
6 Oct 2024 |
| Nikolay Kolev changed their profile picture. | 00:17:26 |
7 Oct 2024 |
| Sam Lehman changed their profile picture. | 14:24:53 |
8 Oct 2024 |
| Frédéric Christ joined the room. | 07:50:23 |
| schuelermine changed their profile picture. | 16:33:40 |
benjamin | is there a preferred way to package rust binaries that are distribute as an example rather than an actual binary crate | 20:06:24 |
benjamin | I see one case in nixpkgs where they do cargoBuildFlags = "--example ..." and then copy it manually in postInstall | 20:07:07 |
9 Oct 2024 |
ˈt͡sɛːzaɐ̯ | (formatjson5, I assume…)
Complain to upstream that they should make a separate bin package if the example is useful beyond people trying to understand the library. | 00:01:05 |
ˈt͡sɛːzaɐ̯ | (Patching Cargo.toml might also work, but meh.) | 00:01:44 |
benjamin | haha yeah formatjson5 is the one I found | 01:11:16 |
| schuelermine changed their profile picture. | 23:47:16 |
ˈt͡sɛːzaɐ̯ | patching script interpreter paths in /nix/store/…-rustc-1.80.1-doc Why do you take like 3 minutes… :/ | 23:50:49 |
10 Oct 2024 |
| dacid44 joined the room. | 00:39:49 |
dacid44 | I have a project that uses pipewire-rs. When I build it in my normal system, it works fine. However, when I build it inside a nix-shell , it says:
target/release/sonusmix: error while loading shared libraries: libpipewire-0.3.so.0: cannot open shared object file: No such file or directory
this happens whether I run the resulting binary inside or outside of the nix-shell . I'd really like to fix this so that I can do reproducible builds using nix. Any ideas?
| 00:41:12 |