{ description = "nnn, the file manager"; outputs = { self, nixpkgs }: let pkgs = nixpkgs.legacyPackages.x86_64-linux; buildInputs = [ pkgs.gnumake pkgs.gcc pkgs.readline pkgs.pkg-config ]; nnn = pkgs.stdenv.mkDerivation { pname = "nnn"; version = "v4.9"; src = ./.; inherit buildInputs; }; in { devShell.x86_64-linux = pkgs.mkShell { inherit buildInputs; }; packages.x86_64-linux.default = nnn; overlays.default = final: prev: { inherit nnn; }; }; }