espanso-wayland for nixos (tested on nixos + hyprland), based on package https://github.com/NixOS/nixpkgs/tree/nixos-unstable/pkgs/applications/office/espanso
7
stars
0
forks
source link
Cannot build- missing Cargo.lock, then attribute 'package' missing #2
I was attempting to use your espano workaround for Wayland.
I have followed your instructions, but I am running into two issues.
Cargo.lock
When I run a build, I first get an output complaining that the Cargo.lock does not exist. I simply create the file with touch. LIkely not the right thing to do, but just tried.
package missing
After creating Cargo.lock, I then run a rebuild again, and end up with:
error: attribute 'package' missing
at /nix/store/qzjidyx3fip413vg7by6ibl22lwizc68-source/pkgs/build-support/rust/import-cargo-lock.nix:50:14:
49|
50| packages = parsedLockFile.package;
| ^
51|
error: Recipe `dev-rebuild` failed on line 48 with exit code 1
I did run a build with a trace, but at first glance did not add any useful info. For the sake of not making this "issue" insanely long, I will provide if you need it (requested).
Files for Reference
Here, you can see the code for reference and how I brought your code into my repo.
Hi there,
I was attempting to use your espano workaround for Wayland.
I have followed your instructions, but I am running into two issues.
Cargo.lock
When I run a build, I first get an output complaining that the
Cargo.lock
does not exist. I simply create the file withtouch
. LIkely not the right thing to do, but just tried.package missing
After creating
Cargo.lock
, I then run a rebuild again, and end up with:I did run a build with a
trace
, but at first glance did not add any useful info. For the sake of not making this "issue" insanely long, I will provide if you need it (requested).Files for Reference
Here, you can see the code for reference and how I brought your code into my repo.
https://github.com/bashfulrobot/nixos/tree/main/modules/cli/espanso
My module directory is autoimported (my whole repo works that way), with the exception of directories named
disabled
orbuild
.I enable espanso in one of my "suites" (seen here). I am currently setting it false to get past the build errors temporarily.
I appreciate your time.