omega@neptun /e/n/a/qownnotes (main) [1]> which qmake
/run/current-system/sw/bin/qmake
omega@neptun /e/n/a/qownnotes (main)> nix-build -E '((import <nixpkgs> {}).callPackage (import ./default.nix) { })'
error: evaluation aborted with the following error message: 'Function called without required argument "qmake" at /etc/nixos/apps/qownnotes/default.nix:4, did you mean "bmake", "cmake" or "imake"?'
Thank you very much, @totoroot, that helped a lot! I didn’t know libsForQt5 had it’s own callPackage!
Do you keep a local clone of the nixpkgs git repo (with all its Gigabytes of commits)? Or do you keep a shallow clone of the repo? Do you also keep your own fork for pull requests?
Glad that helped! Let me know if you run into any other issues.
Yes, I do. I don’t mind because disk space is relatively cheap nowadays, it saves bandwidth (I’ve only got 80/20 MBit/s) and speeds some things up while working on nixpkgs issues and PRs.
@totoroot, did you have any look building qownnotes for Qt6? nixpkgs seems to be lacking a package for core5compat… And I can’t find anything about anyone using or needing the module…