Hello à tous les Nixiens francophone !
Je suis un dev (webdev à la base mais branché surtout par les langages python et Rust) et je cherche à packager mes softs pour nix.
Mon premier essai se ferais pour https://github.com/mothsART/fluxboxlauncher que je considère comme un cas d’école : peu de code, pas de “compilation” et très peu de dépendances.
J’ai créé le fichier default.nix suivant :
{ lib, python, buildPythonPackage, pygtk }:
buildPythonPackage rec {
pname = "fluxoblauncher";
format = "other";
version = "0.1";
buildInputs = [ python pygtk ];
meta = with lib; {
description = "Fluxboxlauncher";
homepage = "https://github.com/mothsART/fluxboxlauncher";
maintainers = with maintainers; [ mothsart ];
license = licenses.bsdOriginal;
platforms = platforms.unix;
};
}
et ça me renvoi :
nix-build -A fluxboxlauncher
error: cannot auto-call a function that has an argument without a default value ('lib')
Merci d’avance