15 Sep 2024 |
K900 | But also why would you ever | 16:12:21 |
K900 | You can just call libpipewire | 16:12:32 |
| eelsa joined the room. | 18:54:28 |
eelsa | Hi all! I'm trying to package a rust package, but keep running into this problem | 18:55:00 |
eelsa | Download image.png | 18:55:03 |
eelsa | Curious as to whether ya'll might know what to do, or what steps I can take - thanks a ton! :D | 18:55:13 |
K900 | Why are you trying to use a Cargo.lock from your Downloads directory | 18:57:30 |
eelsa | I don't know, that's just what's happening when I try to build it | 18:58:06 |
emily | you need to track Cargo.lock in Git | 18:58:41 |
eelsa | Download image.png | 18:58:42 |
emily | because flakes only look at tracked files | 18:58:47 |
eelsa | ah that's really helpful! Can i ask if you have an example of that? I'm relatively new to Nix. | 18:59:23 |
K900 | Are you in a git repo? | 19:00:47 |
K900 | Actually wait, you're using -f | 19:01:04 |
K900 | Do you even have a /home/demo/Downloads/Cargo.lock | 19:01:10 |
| eelsa changed their display name from Ailsa Sun to eelsa. | 19:01:22 |
| eelsa set a profile picture. | 19:02:24 |
eelsa | OH wait I think I'm very very silly - I didn't even clone the git repo before trying to build | 19:03:05 |
K900 | You shouldn't have to | 19:03:24 |
K900 | Did you copy this example from somewhere | 19:03:28 |
K900 | If so, delete all the cargoLock stuff and set cargoHash = "" instead | 19:03:40 |
K900 | And then retry the build | 19:03:44 |
K900 | If it works out, it should tell you what hash to put | 19:03:49 |
eelsa | hmmm yes, I copied the example since I think I need to index into the repo's files for another package I'm trying to build, and kept running into the same error - so I went to nixpkgs and just copied something that used Cargo Lock to see if it would work... | 19:06:07 |
eelsa | * hmmm yes, I copied the example since I think I need to index into the repo's files for another package I'm trying to build, and kept running into the same error - so I went to nixpkgs and just copied something that used Cargo Lock to see if it would work... in the package that I'm actually trying to build, the cargo.lock file needs to be updated, but I'm running into the following problem | 19:08:13 |
eelsa | Download image.png | 19:08:16 |
K900 | OK, that makes things difficult | 19:08:34 |
K900 | This basically means the upstream lockfile is broken | 19:08:41 |
K900 | And upstream looks very dead | 19:09:27 |
K900 | So that's fun | 19:09:29 |