1
0
Fork 0
forked from mirror/nnn
nnn/flake.nix
2024-09-13 04:27:35 +00:00

23 lines
569 B
Nix

{
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;
};
};
}