1
0
Fork 0
forked from mirror/nnn
nnn/flake.nix

24 lines
569 B
Nix
Raw Permalink Normal View History

2023-08-25 04:48:35 +00:00
{
description = "nnn, the file manager";
outputs = { self, nixpkgs }:
2024-02-06 02:02:35 +00:00
let
pkgs = nixpkgs.legacyPackages.x86_64-linux;
buildInputs = [ pkgs.gnumake pkgs.gcc pkgs.readline pkgs.pkg-config ];
2024-09-13 04:27:35 +00:00
nnn = pkgs.stdenv.mkDerivation {
2024-02-06 02:02:35 +00:00
pname = "nnn";
version = "v4.9";
src = ./.;
inherit buildInputs;
2023-08-25 04:48:35 +00:00
};
2024-09-13 04:27:35 +00:00
in {
devShell.x86_64-linux = pkgs.mkShell {
inherit buildInputs;
};
packages.x86_64-linux.default = nnn;
overlays.default = final: prev: {
inherit nnn;
};
2023-08-25 04:48:35 +00:00
};
}