Please forgive me, if this question has been asked before. Also please note, that I started using NixOS as my daily driver a week ago or so.
I’ve looked around the internet on how to build a new package for NixOS. I’ve seen the syntax for a derivation and I would say, that I understand it. However, whereever I looked, I only see derivations in the context of forking or extending
nixpkgs in one way or the other.
My current use-case is packaging the hello-theme for KDE, which is a
cmake-project. I got it as far as compiling via a
nix-shell-environment, but don’t know how to proceed yet.
nixpkgs seems to be a little overkill! I understand, this would make it easier to create a PR and have new packages being added to the NixOS-ecosystem, but for now I would simply like to include my build of this project in my personal config and see, if it’s even working.
Is there a concept different to derivations, that would allow me to do this? Or better yet, can I include a derivation in