{ system, self, ... }: let pkgs = self.legacyPackages.${system}; in with pkgs.poetry2nix; mkPoetryApplication { projectDir = cleanPythonSources { src = ./.; }; nativeBuildInputs = with pkgs; [ makeWrapper ]; postInstall = '' wrapProgram $out/bin/sops-inventory \ --prefix PATH : ${pkgs.lib.makeBinPath (with pkgs; [git])} ''; }