Some issues with creating a new package

Hello fellow Nix users!

I want to contribute the package awesome-appmenu to the community since it seems that a lot of distros has that package and people seems to be using that quite a bit.

So, I am trying to override the Makefile that comes with the git repository so it uses the right file structure nomenclature.

This is what I have made so far

Thank you guys for the help you may provide!

The project has a reasonable Makefile that relies on PREFIX variable so you would just call make install PREFIX=${placeholder "out"} in the installPhase. Or, better yet, use the default installPhase and set makeFlags = [ "PREFIX=${placeholder "out"}" ];.

Maybe also add dontBuild = true; since there is no build phase.

1 Like